Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I believe I successfully installed Debian onto my external hard drive, but when I try to boot to it from grub I get "unrecognized device string". My HD install of Ubuntu works correctly. From a running system I get:
Code:
grub> root (hd
Possible disks are: hd0 hd1
But from the grub command line I get:
Code:
grub> root (hd
Possible disks are: hd0
So I believe I need to get grub to see the drive somehow.
Attached is the menu.lst (create by Ubuntu.)
Assuming your external hard drive is connected by usb, and assuming your bios allows for booting from usb, and assuming you have set up your computer to boot from usb, and assuming that both your ubuntu 9.10 and debian external hard drive are formatted as ext3, I think that 9.10 defaults to ext4 and to GRUB2 (looking at your file.txt/menu.lst attachment this is plain GRUB, but it has no menu entry for your external drive which would be sda or sbd).
What I would suggest is that you boot into ubuntu and attach the external harddrive and find out what UUID it has.
run:
ls /dev/disk/by-uuid
do this before and after attaching the external hard drive to find out which uuid applies.
If I recall correctly,ubuntu 9.10 doesn't see devices as hd* and sd* anymore, hence the need to address it by its univeral id
I believe I successfully installed Debian onto my external hard drive, but when I try to boot to it from grub I get "unrecognized device string". My HD install of Ubuntu works correctly. From a running system I get:
Code:
grub> root (hd
Possible disks are: hd0 hd1
But from the grub command line I get:
Code:
grub> root (hd
Possible disks are: hd0
So I believe I need to get grub to see the drive somehow.
Attached is the menu.lst (create by Ubuntu.)
Thanks,
Bratmon
Look at the lines for Debian.
Code:
title Debian
root (hd1,1)
kernel /boot/initrd.img-2.6.26-2-686
initrd /boot/vmlinuz-2.6.26-2-686
Code:
title Debian
root (hd1,1)
kernel /boot/vmlinuz-2.6.26-2-686
initrd /boot/initrd.img-2.6.26-2-686
grub relies on the BIOS for drive detection but since your BIOS can not boot from USB you will need to use another boot manager. Check out PLoP. http://www.plop.at/en/bootmanager.html
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.