22.12.2014, 17:22 UhrDeutsch | English
Hallo Gast [ Registrierung | Anmelden ]

Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
Autor Nachricht
gtpeacock
Titel: Grub cannot find 2nd HD after Thorhammer install  BeitragVerfasst am: 14.09.2007, 04:08 Uhr



Anmeldung: 12. Jul 2005
Beiträge: 28
Wohnort: SC, USA
I have Mint installed on a second hard drive. The command

chainloader (hd1,0)+1 worked fine to get to the Mint GRUB on my older Kanotix install, but now with Thorhammer this does not work. Grub-install found the Mint kernels and set them up, but they also fail. For some reason the new Grub installation cannot find the second drive.

I have several other partitions on my first drive that all work great, for example

chainloader (hd0,5)+1

works fine. The only one that does not work is the one pointing to the second drive. Any ideas?
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
ockham23
Titel: Grub cannot find 2nd HD after Thorhammer install  BeitragVerfasst am: 14.09.2007, 07:41 Uhr



Anmeldung: 25. Mar 2005
Beiträge: 2109

Please post the output of
Code:
cat /boot/grub/menu.lst
su
fdisk -l
blkid

_________________
And I ain't got no worries 'cause I ain't in no hurry at all (Doobie Brothers, "Black Water").
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
Kano
Titel: Grub cannot find 2nd HD after Thorhammer install  BeitragVerfasst am: 14.09.2007, 12:09 Uhr



Anmeldung: 17. Dez 2003
Beiträge: 16313

Check BIOS if the drive is mentioned there.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
gtpeacock
Titel: output of menu.lst, fdisk -l, and  BeitragVerfasst am: 15.09.2007, 01:30 Uhr



Anmeldung: 12. Jul 2005
Beiträge: 28
Wohnort: SC, USA
root@Frankenputer:/home/gtp# cat /boot/grub/menu.lst

title Debian GNU/Linux, kernel 2.6.22-10-generic
root (hd0,9)
kernel /boot/vmlinuz-2.6.22-10-generic root=UUID=dbd4ea2a-5284-4fc2-8fa7-318c2c7c8427 ro splash vga=791 quiet
initrd /boot/initrd.img-2.6.22-10-generic

title Debian GNU/Linux, kernel memtest86+
root (hd0,9)
kernel /boot/memtest86+.bin

### END DEBIAN AUTOMAGIC KERNELS LIST
title Windows 95/98/Me
chainloader (hd0,0)+1

title hda5 Mepis
chainloader (hd0,4)+1

title hda6 Ubuntu
chainloader (hd0,5)+1

title hda7 PCLinuxOS
chainloader (hd0,6)+1

title hda8 Xubuntu
chainloader (hd0,7)+1

title hdb1 Mint
map (hd0)(hd1)
map (hd1)(hd0)
chainloader (hd1,0)+1

#title Mint, kernel 2.6.20-16-generic
#root (hd1,0)
#kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=dbd4ea2a-5284-4fc2-8fa7-318c2c7c8427 ro quiet splash
#initrd /boot/initrd.img-2.6.20-16-generic

#title Mint, kernel 2.6.20-15-generic
#root (hd1,0)
#kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=dbd4ea2a-5284-4fc2-8fa7-318c2c7c8427 ro quiet splash
#initrd /boot/initrd.img-2.6.20-15-generic



root@Frankenputer:/home/gtp# fdisk -l

Disk /dev/sda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 365 2931831 b W95 FAT32
/dev/sda2 366 370 40162+ 83 Linux
/dev/sda3 371 433 506047+ 82 Linux swap / Solaris
/dev/sda4 434 4865 35600040 5 Extended
/dev/sda5 434 1042 4891761 83 Linux
/dev/sda6 * 1043 1651 4891761 83 Linux
/dev/sda7 1652 2260 4891761 83 Linux
/dev/sda8 2261 2869 4891761 83 Linux
/dev/sda9 2870 4086 9775521 b W95 FAT32
/dev/sda10 4087 4865 6257286 83 Linux

Disk /dev/sdb: 13.6 GB, 13601193984 bytes
255 heads, 63 sectors/track, 1653 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 1653 13277691 83 Linux


root@Frankenputer:/home/gtp# blkid

/dev/sda1: LABEL="WIN98" UUID="0000-0E53" TYPE="vfat"
/dev/sda2: UUID="54ed655b-3d0c-4401-83f4-b87a430b470a" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda6: UUID="4aaf3175-8ecb-44c6-9f69-2530ef77e2d2" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda7: LABEL="home" UUID="28e1399c-ef5a-4ff0-83d2-82d2e5434d4a" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda8: UUID="070f2e00-9542-4aab-ae8a-6e98c93ef2cd" LABEL="Xubuntu" TYPE="reiserfs"
/dev/sda10: UUID="dbd4ea2a-5284-4fc2-8fa7-318c2c7c8427" TYPE="reiserfs"
/dev/sdb1: UUID="a8b9f22f-ea48-4972-9046-291f0bc48c92" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda3: UUID="a2eb84dc-f740-44e5-9eab-d88c0c74e1ef" TYPE="swap"
/dev/sda5: UUID="a5e4e5ea-ec5c-4569-852b-c367de699df1" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda9: LABEL="HDA9" UUID="E9F1-0200" TYPE="vfat"


You can see in the menu.lst that I have commented out some of the options that did not work. I can mount the second drive with no problem, so I assume it is not a bios issue. This worked fine before I upgraded to Thorhammer, so it seems to have something to do with grub on this new version.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
Kano
Titel: output of menu.lst, fdisk -l, and  BeitragVerfasst am: 15.09.2007, 01:45 Uhr



Anmeldung: 17. Dez 2003
Beiträge: 16313

You can not use map command for Linux. As soon as the kernel loads it must use the saved root=... value. map is only for Win/Dos and other easy systems which have no root Option.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
gtpeacock
Titel: RE: output of menu.lst, fdisk -l, and  BeitragVerfasst am: 16.09.2007, 02:36 Uhr



Anmeldung: 12. Jul 2005
Beiträge: 28
Wohnort: SC, USA
I added the mapping commands in desperation after it would not work. Can you recommend a chainloader command that will get me to the second hard drive? This worked fine with no problems before I upgraded.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
eco2geek
Titel:   BeitragVerfasst am: 16.09.2007, 06:07 Uhr



Anmeldung: 02. Mai 2004
Beiträge: 471
Wohnort: Portland, OR, USA
gtpeacock hat folgendes geschrieben::
#title Mint, kernel 2.6.20-16-generic
#root (hd1,0)
#kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=dbd4ea2a-5284-4fc2-8fa7-318c2c7c8427 ro quiet splash
#initrd /boot/initrd.img-2.6.20-16-generic

#title Mint, kernel 2.6.20-15-generic
#root (hd1,0)
#kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=dbd4ea2a-5284-4fc2-8fa7-318c2c7c8427 ro quiet splash
#initrd /boot/initrd.img-2.6.20-15-generic


That's the UUID for sda10, no? Not the UUID for sdb1, which is what you want?
gtpeacock hat folgendes geschrieben::
/dev/sda10: UUID="dbd4ea2a-5284-4fc2-8fa7-318c2c7c8427" TYPE="reiserfs"
/dev/sdb1: UUID="a8b9f22f-ea48-4972-9046-291f0bc48c92" SEC_TYPE="ext2" TYPE="ext3"


It may not be in keeping with this newfangled UUID thing, but you still should also be able to use something like

title Mint, kernel 2.6.20-15-generic
root (hd1,0)
kernel /boot/vmlinuz-2.6.20-15-generic root=/dev/sdb1 ro quiet splash
initrd /boot/initrd.img-2.6.20-15-generic

to start it.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
gtpeacock
Titel:   BeitragVerfasst am: 20.09.2007, 01:56 Uhr



Anmeldung: 12. Jul 2005
Beiträge: 28
Wohnort: SC, USA
I can try that, but I am really trying to get chainloader to work so that I can address grub installed on the second disk (for Mint). I have tried:

root (hd1,0)
chainloader +1

and

chainloader (hd1,0)+1

Neither worked. I get a Grub error #13.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
ockham23
Titel:   BeitragVerfasst am: 20.09.2007, 21:20 Uhr



Anmeldung: 25. Mar 2005
Beiträge: 2109

Maybe the chainloader command fails because there's no bootloader installed in partition #1 on hd1. If grub is located in the MBR of hd1, the chainloader command pointing to partition #1 won't find it.

_________________
And I ain't got no worries 'cause I ain't in no hurry at all (Doobie Brothers, "Black Water").
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
gtpeacock
Titel:   BeitragVerfasst am: 21.09.2007, 03:17 Uhr



Anmeldung: 12. Jul 2005
Beiträge: 28
Wohnort: SC, USA
Yes! That was it. Mint Grub was on HD1 instead of HD0,1. It was time for Mint to go anyway, so now the second drive has Vector Linux with LILO installed on the partition, and chainloader (hd1,0)+1 gets me there.

Looks like Kanotix and grub were fine all along... imagine that...

Thanks for your help!
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
Beiträge vom vorherigen Thema anzeigen:     
Gehe zu:  
Alle Zeiten sind GMT + 1 Stunde
Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
PNphpBB2 © 2003-2007 
 
Deutsch | English
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2004 - 2006 by Jörg Schirottke (Kano).
Consult Impressum and Legal Terms for details. Kanotix is Free Software released under the GNU/GPL license.
This CMS is powered by PostNuke, all themes used at this site are released under the GNU/GPL license. designed and hosted by w3you. Our web server is running on Kanotix64-2006.