LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-28-2007, 02:40 PM   #1
BK2
LQ Newbie
 
Registered: Aug 2007
Posts: 23

Rep: Reputation: 15
I can't boot from external Hard Disk


hello all

I Installed linux opensuse 10.3 on my local HD, then I installed a live linux cd (mandriva) on external HD (USB) . so I configured grub boot loader (menu.lst) and added to it mandriva. but whrn I tried to boot mandrvia from the external HD an error appear and says: can't find disk

the configuration just like that:

title openSUSE 10.3
root (hd0,6)
kernel /boot/vmlinuz-2.6.22.12-0.1-default root=/dev/disk/by-id/scsi-SATA_FUJITSU_MHV2060_NT21T5C28V18-part7 vga=791 resume=/dev/sda8 splash=silent showopts
initrd /boot/initrd-2.6.22.12-0.1-default


title Mandriva 2008
root (hd1,1)
kernel /boot/vmlinuz root=/dev/sdb2
initrd /boot/initrd.img



it should boot because I have 2 HDs
why it can't find the 2nd HD (hd1,1) .

and this is fdisk -l

Code:
 Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1        1824    14651248+   c  W95 FAT32 (LBA)
Partition 1 does not end on cylinder boundary.
/dev/sda2            1825        7295    43945807+   f  W95 Ext'd (LBA)
/dev/sda5            1825        3648    14651248+   7  HPFS/NTFS
/dev/sda6            3649        5472    14651248+   7  HPFS/NTFS
/dev/sda7   *        5473        7104    13109008+  83  Linux
/dev/sda8            7105        7295     1534176   82  Linux swap / Solaris

Disk /dev/sdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x28f12a69

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1        7686    61737763+   7  HPFS/NTFS
/dev/sdb2   *        7687        8736     8434125   83  Linux
/dev/sdb3            8737        9729     7976272+  83  Linux
How I can let mandriva boot from the external HD. Do I need to install the grub boot loader from the last distro the I installed???

because I need opensuse10.3 to be my boot manger on my device

thanks a lot

Last edited by BK2; 11-28-2007 at 02:41 PM.
 
Old 11-28-2007, 03:21 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,887

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
Quote:
I Installed linux opensuse 10.3 on my local HD, then I installed a live linux cd (mandriva) on external HD (USB) . so I configured grub boot loader (menu.lst) and added to it mandriva. but whrn I tried to boot mandrvia from the external HD an error appear and says: can't find disk
The problem probably comes from the menu.lst you copied from OpenSUSE. It's right for OpenSUSE to pass the boot process form OpenSUSE's grub to Mandriva to boot it, but it's not right for Mandriva to boot properly.
Quote:
kernel /boot/vmlinuz root=/dev/sdb2
This is the problem: from OpenSUSE, the vmlinuz for Mandriva is in the /boot folder. From Mandriva, grub knows that boot in under the root of the filesystem, so it doesn't need the /boot/vmlinuz; it expects to find vmlinuz in /boot. All you need to do is edit menu.lst, and remove /boot from the kernel line. Like this:
Code:
kernel /vmlinuz root=/dev/sdb2
If you want Mandriva's grub to take over the MBR from OpenSUSE, you need to boot Mandy and run grub-install. Just copying menu.lst to Mandy won't make it so.
 
Old 11-29-2007, 01:00 PM   #3
BK2
LQ Newbie
 
Registered: Aug 2007
Posts: 23

Original Poster
Rep: Reputation: 15
First, thank your help

the problem not form the path, it can't find my HD at all on booting.

you think that it can't find the path of the kernel or the initrd. no not this is the problem!!. the problem is the boot loader can't find my 2nd HD on booting . but when I enter to the OS it says that there is another HD.

anyway I tried your way but it doesn't work

another problem... openSUSUE 10.3 configure my 1st HD (hd0) as a SCSI type . but it's SCSI!! , I don't know why it said it's SCSI. this well cause to name 2nd partition with this name (sdb) but it must be like this (sda) , and the 1st partition must be (hda) not (sda).

any ides ??

thanks a lot

Last edited by BK2; 11-29-2007 at 01:07 PM.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mandriva Boot on USB External Hard Disk omid1979 Mandriva 1 10-23-2007 06:04 PM
Installed RHEL in external hard disk.Cannot Boot. z96 Linux - Enterprise 1 03-25-2007 11:28 AM
Dual boot of WinXP with RedHat 9 using an external hard disk on a Laptop duartenl Linux - Software 14 08-09-2006 09:37 PM
60GB laptop hard disk & 200GB external USB hard disk linux compatibility powah Linux - Hardware 0 03-07-2006 10:55 AM
Boot from external Hard disk ServalSoft Linux - Distributions 2 01-21-2006 09:45 PM


All times are GMT -5. The time now is 10:29 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration