shuu
January 10th, 2010, 06:37 PM
Ok, so here's the deal. I've got Windows Vista (32-bit) on my primary HD, hd0,1. I've installed, using WUBI, Ubuntu 9.10 (64-bit) to hd1,1.
When I boot up and choose Ubuntu (after installation, so it worked to boot the installation).. something is not in order and I'm sent into GRUB (I'm sure you guys know what it is, so I won't go into details about that.. the essence is that I need to find the kernel and specify it).
Here is what I do, and (partially) what I get in return
>ls
Returns these: (loop0) (hd0) (hd0,1) (hd1) (hd1,1) of which (hd0,1) is labelled Windows (for convenience) and (hd1,1) Ubuntu.. so the double-check is in order, it is indeed (hd1,1) which I chose to install Ubuntu onto.
>insmod ntfs
I'm just following a "tutorial", I have no clue what really is going on here (other than it having to do with NTFS file system).. but there's no return statement
>set root=(hd1,1)
>ls $Boot
Return something like: Device (null) : NTFS file system, label Ubuntu and a UUID
>search --no-floppy --fs-uuid -set <insert the UUID in the last return stament here>
>set root=(loop0)
>linux /boot/vmlinuz-blah-blah-generic root=/dev/PROBLEM1 loop=PROBLEM2 ro quiet splash
This thing returns some cryptic message, but there's no where it says anything about error or no such file etc
Problem 1 : I assume that there's something like sdb1 that should be entered here, but that option does not exist, in fact there are no options that begins with sd (it was sda5 in the tutorial).
Problem 2 : I guess because the root is the root.disk file that it is impossible to get out of that and back into (hd1,1) where the ubuntu folder is, and thus I cannot access the desired file.. unless it should be loop=root?
>initrd /boot/initrd.img-blah-blah-generic
>boot
Lots of text running down the screen and a stop a few lines after a statement saying something like "cannot mount root, tried ext3, ext2, ext4 etc etc.."
Then it just freezes there.
I could use some help with this guys, I'd like to try out running Ubuntu on this machine! I have no previous experience with dual booting (other than booting from USB Flash Drive on my Asus EEE) and I ahve no idea what I am doing wrong and/or if there was something I did wrong during installation.
EDIT: Ok, so I solved Problem 2 by using these commands, basically avoiding to set root = loop0..
>ls # Find Ubuntu partition
>set root=(hdX,Y) # Where X (0-n) is the physical drive and Y (1-n) the partition
>insmod ntfs
>loopback loop0 /ubuntu/disks/root.disk # Access this .disk with (loop0)
>linux (loop0)/boot/vmlinuzXXXXXXXX root=PROBLEM loop=/ubuntu/disks/root.disk ro nosplash # Load kernel, use TAB to find the correct file, replace XXXXXXXX
>initrd (loop0)/boot/initrd.imgXXXXXXXX # Use TAB to find the correct file, replace XXXXXXXX
>boot
Problem is still that I don't know what file within (loop0)/dev/ I need to access. There are no files that begin with sd. Thus I have no root.
When I boot up and choose Ubuntu (after installation, so it worked to boot the installation).. something is not in order and I'm sent into GRUB (I'm sure you guys know what it is, so I won't go into details about that.. the essence is that I need to find the kernel and specify it).
Here is what I do, and (partially) what I get in return
>ls
Returns these: (loop0) (hd0) (hd0,1) (hd1) (hd1,1) of which (hd0,1) is labelled Windows (for convenience) and (hd1,1) Ubuntu.. so the double-check is in order, it is indeed (hd1,1) which I chose to install Ubuntu onto.
>insmod ntfs
I'm just following a "tutorial", I have no clue what really is going on here (other than it having to do with NTFS file system).. but there's no return statement
>set root=(hd1,1)
>ls $Boot
Return something like: Device (null) : NTFS file system, label Ubuntu and a UUID
>search --no-floppy --fs-uuid -set <insert the UUID in the last return stament here>
>set root=(loop0)
>linux /boot/vmlinuz-blah-blah-generic root=/dev/PROBLEM1 loop=PROBLEM2 ro quiet splash
This thing returns some cryptic message, but there's no where it says anything about error or no such file etc
Problem 1 : I assume that there's something like sdb1 that should be entered here, but that option does not exist, in fact there are no options that begins with sd (it was sda5 in the tutorial).
Problem 2 : I guess because the root is the root.disk file that it is impossible to get out of that and back into (hd1,1) where the ubuntu folder is, and thus I cannot access the desired file.. unless it should be loop=root?
>initrd /boot/initrd.img-blah-blah-generic
>boot
Lots of text running down the screen and a stop a few lines after a statement saying something like "cannot mount root, tried ext3, ext2, ext4 etc etc.."
Then it just freezes there.
I could use some help with this guys, I'd like to try out running Ubuntu on this machine! I have no previous experience with dual booting (other than booting from USB Flash Drive on my Asus EEE) and I ahve no idea what I am doing wrong and/or if there was something I did wrong during installation.
EDIT: Ok, so I solved Problem 2 by using these commands, basically avoiding to set root = loop0..
>ls # Find Ubuntu partition
>set root=(hdX,Y) # Where X (0-n) is the physical drive and Y (1-n) the partition
>insmod ntfs
>loopback loop0 /ubuntu/disks/root.disk # Access this .disk with (loop0)
>linux (loop0)/boot/vmlinuzXXXXXXXX root=PROBLEM loop=/ubuntu/disks/root.disk ro nosplash # Load kernel, use TAB to find the correct file, replace XXXXXXXX
>initrd (loop0)/boot/initrd.imgXXXXXXXX # Use TAB to find the correct file, replace XXXXXXXX
>boot
Problem is still that I don't know what file within (loop0)/dev/ I need to access. There are no files that begin with sd. Thus I have no root.