Just posting this for people who are converting their wubi install to a dedicated partition with LVPM. Once done you may want to access your old setup in the event you modify something or whatever.
In the following examples you may need to edit some of the paths to match your system setup. The following scripts assume your Windows partition is on /dev/sda1.
Make a new text file:
Save this as mountwubi.sh. Right click this new file, select Permissions tab and put a tick in the Execute box.Code:#!/bin/sh sudo mkdir -p /media/WindowsXP echo "Mounting NTFS Partition" sudo mount -t ntfs /dev/sda1 /media/WindowsXP sleep 1 sudo mkdir -p /media/root.disk echo "Mounting Wubi Disk" sudo mount -o loop /media/WindowsXP/ubuntu/disks/root.disk /media/root.disk sleep 1 echo "Done :)" gksu nautilus /media/root.disk exit 0 &
Create another text file:
Save this as umountwubi.sh. Right click this new file, select Permissions tab and put a tick in the Execute box.Code:#!/bin/sh echo "Unmounting Wubi Disk" sudo umount /media/root.disk sleep 1 echo "Unmounting NTFS Partition" sudo umount /media/WindowsXP sleep 1 echo "Done :)" exit 0 &
Double clicking mountwubi.sh and selecting Run in Terminal will mount your old wubi install and open a root nautilus for full access to the files.
The function of umountwubi.sh is pretty obvious![]()



Adv Reply




Bookmarks