Hi,
I have a 4G USB2 disk-on-key stick, formatted to one single ext3 partition.
My target is avoiding the usage of the hard-disk (disconnecting it from the board).
I installed ubuntu 9.04 from a CD-ROM to my USB device, and it looks like every thing went well.
After reseting the system I excluding the hard disk from booting list, but I can't boot from the USB device, saynig "Operating System not found".
When browsing the USB storage I see the entire file system on it.
What I miss here?, is there any flag I should set?
Thanks in advance,
Yossi
can't booting ubuntu from USB2 disk-on-key dongle
Re: can't booting ubuntu from USB2 disk-on-key dongle
you need to install grub onto the USB dongle .
i would boot from the install CD again with USB plugged in, and try:
# grub
root (hd1,0)
setup (hd1)
also try hd0,0 and hd0.. it will say "hd1 fs: ext3" or so if it worked
i would boot from the install CD again with USB plugged in, and try:
# grub
root (hd1,0)
setup (hd1)
also try hd0,0 and hd0.. it will say "hd1 fs: ext3" or so if it worked
Re: can't booting ubuntu from USB2 disk-on-key dongle
Thanks carmen,
for any root (hdx,0) (x is a number) i get "Error 12: Invalid device requested".
the usb dongle is plugged in.
i also see the directory /boot/grub on the dongle.
when typing df , i get it as device: /dev/sdb1
any idea why I don't see the device for grub?
also, any other direction can be helpfull.
Thanks
for any root (hdx,0) (x is a number) i get "Error 12: Invalid device requested".
the usb dongle is plugged in.
i also see the directory /boot/grub on the dongle.
when typing df , i get it as device: /dev/sdb1
any idea why I don't see the device for grub?
also, any other direction can be helpfull.
Thanks
Re: can't booting ubuntu from USB2 disk-on-key dongle
Sorry, the error message is: "Error 21: Selected disk does not exist" and not as I mentioned above.
Also, can you explain why I see this message also for hd0 ?, which I thought is the hard disk
Yossi
Also, can you explain why I see this message also for hd0 ?, which I thought is the hard disk
Yossi
Re: can't booting ubuntu from USB2 disk-on-key dongle
grub has tricky numbering sometimes, you may want to try hd0,1 hd1,1
also "grub-install /dev/sdb" at a command line may work
i can confirm that once grub is installed on USB, the fit-pc2 is happy to boot from it
also "grub-install /dev/sdb" at a command line may work
i can confirm that once grub is installed on USB, the fit-pc2 is happy to boot from it
Re: can't booting ubuntu from USB2 disk-on-key dongle
Thanks carmen.
Well, the problem was solved only after setting it as bootable.
Using gparted, I formatted it into ext3 and setting the boot flag.
Then it went well.
Thanks,
Yossi
Well, the problem was solved only after setting it as bootable.
Using gparted, I formatted it into ext3 and setting the boot flag.
Then it went well.
Thanks,
Yossi