LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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

Reply
 
Search this Thread
Old 12-24-2009, 08:58 AM   #1
Bratmon
Member
 
Registered: Jul 2009
Location: 75.126.162.205:80
Distribution: Arch / Mint 17
Posts: 297
Blog Entries: 3

Rep: Reputation: 50
Booting from a USB drive


Hello,

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
Attached Files
File Type: txt file.txt (5.1 KB, 6 views)
 
Old 12-24-2009, 09:25 AM   #2
minrich
Member
 
Registered: Aug 2003
Location: Isles of Man & Wight
Distribution: See signature
Posts: 548

Rep: Reputation: 40
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

Hope this helps
 
Old 12-24-2009, 10:20 PM   #3
Bratmon
Member
 
Registered: Jul 2009
Location: 75.126.162.205:80
Distribution: Arch / Mint 17
Posts: 297
Blog Entries: 3

Original Poster
Rep: Reputation: 50
The thing is, my BIOS doesn't support booting from USB. I'm looking for a way around that.
 
Old 12-25-2009, 12:31 AM   #4
cola
Senior Member
 
Registered: Sep 2007
Location: Dhaka,Bangladesh
Distribution: Debian
Posts: 1,019

Rep: Reputation: 63
Quote:
Originally Posted by Bratmon View Post
Hello,

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
 
Old 12-25-2009, 11:36 AM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 12,142

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
booting from usb drive mcnalu Slackware 8 03-17-2008 03:35 AM
booting from a USB drive poblano Linux - General 1 08-12-2007 10:02 PM
booting in flash usb drive micro_xii Linux - Newbie 1 01-24-2007 10:54 AM
Booting from USB Drive agallant Linux - General 1 02-15-2006 09:43 AM
Booting Linux off of a USB drive hari69 Linux - Laptop and Netbook 0 10-23-2004 11:08 AM


All times are GMT -5. The time now is 05:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration