How to mount root.disk from WUBI when booted from dual boot install of Ubuntu? - Ask Ubuntu

"LIC
Questions
Tags
Users
Companies
Unanswered
TEAMS
Stack Overflow for Teams – Start collaborating and sharing organizational knowledge.
How to mount root.disk from WUBI when booted from dual boot install of Ubuntu?
Asked 10 years, 4 months ago
Modified 10 years, 4 months ago
Viewed 3k times
1

I'm running Ubuntu 12.04 LTFS. On the same disk, I have another Win7. On the NTFS Win7, I have buntu 11.04 running on a ext4 partition that was installed with Wubi.
I'd like to be able to access my buntu 11.04 files, from my Ubuntu 12.04 OS. Is this possible?

I was thinking this might work:

mount -t ext4 -r /dev/sda4/ubuntu/disks/root.disk /media/wubi

Or maybe mount a mount:

mount -t ntfs -r /dev/sda4 /media/win7Wubi
mount -t ext4 -r /media/win7Wubi/ubuntu/disks/root.disk /media/buntu1104

wubimountntfsext4
Share
Improve this question
Follow
edited Jan 16, 2013 at 0:03

topless
7,23599 gold badges3636 silver badges4343 bronze badges
asked Jan 15, 2013 at 22:58

Dug
6333 silver badges66 bronze badges
Add a comment
1 Answer
Sorted by:

Highest score (default)
1

Not exactly mount a mount, but close. You are supposed to mount a block device contained on a file inside a filesystem that, obviously, is inside a real block device.

In other words: How much wood would a woodchuck chuck if a woodchuck could chuck wood?

The key is the parameter -o loop.

Assuming that:

The Windows partition is /dev/sda4.
The root partition file is located on /ubuntu/disks/root.disk inside the Windows partition.
The directories /media/win7Wubi and /media/ubuntu1104 were already created.
Use these two commands on this order:

mount -t ntfs /dev/sda4 /media/win7Wubi
mount -t ext4 -o loop /media/win7Wubi/ubuntu/disks/root.disk /media/ubuntu1104"
https://askubuntu.com/questions/243621/how-to-mount-root-disk-from-wubi-when-booted-from-dual-boot-install-of-ubuntu#:~:text=PUBLIC,disk%20/media/ubuntu1104 

Comentários

Postagens mais visitadas