LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (http://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   HP notebook USB drive boot install (http://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/hp-notebook-usb-drive-boot-install-641267/)

angelo_maci 05-10-2008 09:18 AM

HP notebook USB drive boot install
 
hi friends
I succeeded in installing Ubuntu AMD 64 last release on USB hard-disk but when I boot I get error 17: cannot mount this drive...or something similar.
I said to Ubuntu to write boot information on that drive and not on the main (windows).
can you help me?
thanks in advance

Pearlseattle 05-13-2008 04:43 PM

So, when you installed Ubuntu on your USB-drive you told him to write the MBR as well on the USB-drive, is this correct? And now, after that you set up the BIOS of your PC to boot from the USB-drive, it starts reading the MBR of the USB-drive an then you get an error saying what exactly? That it cannot mount the root partition?

angelo_maci 05-14-2008 04:18 PM

yes
 
yes
error 17 "impossible to mount partition" with slave usb hd
and
error 15 (no text) with master.

Pearlseattle 05-19-2008 11:01 AM

Perhaps the configuration of grub is not correct? Don't know with Ubuntu, but with Gentoo there is a file in /boot/grub/ called "grub.conf" (or perhaps "menu.1st") which contains the configuration of the partitions and where to find the root partition. E.g.:
Code:

default 1
timeout 5

title=Gentoo Linux 2.6.24-gentoo-r4
root (hd0,0)
kernel /boot/kernel-2.6.24-gentoo-r4 root=/dev/sda3 vga=0x317 console=tty1

In your case perhaps the "root (hd0,0)" and/or the "root=/dev/sda3" might be wrong? Well, not exactly "sda3", but whatever is mentioned there in your config?
:confused:

jiml8 05-19-2008 11:50 AM

In order to boot from a USB drive, the BIOS of your computer must support this. That drive must be mounted and accessible to the system BEFORE grub (or any other bootloader) is invoked; this can ONLY happen if the BIOS does it.

Sounds to me like either your BIOS does not support this, OR it is not enabled in BIOS.

Your remaining alternative would be to, for instance, set up a boot floppy or a boot CD, immediately enable USB and identify the drive, then and only then do a pivot root to get to the drive and boot from it.


All times are GMT -5. The time now is 09:33 AM.