21 Dic, 2025 - 02:02 PMDeutsch | English
Hola invitado [ Register | Entrar ]

Publicar nuevo tema   Responder al tema
Ver tema anterior Versión imprimible Entre para ver sus mensajes privados Ver tema siguiente
Autor Mensaje
gtpeacock
Asunto: Grub cannot find 2nd HD after Thorhammer install  MensajePublicado: 14 Sep, 2007 - 04:08 AM



Registrado: 12 Jul, 2005
Mensajes: 28
Ubicación: 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?
 
 Ver perfil de usuario Enviar mensaje privado  
Responder citando Volver arriba
ockham23
Asunto: Grub cannot find 2nd HD after Thorhammer install  MensajePublicado: 14 Sep, 2007 - 07:41 AM



Registrado: 25 Mar, 2005
Mensajes: 2133

Please post the output of
Código:
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").
 
 Ver perfil de usuario Enviar mensaje privado  
Responder citando Volver arriba
Kano
Asunto: Grub cannot find 2nd HD after Thorhammer install  MensajePublicado: 14 Sep, 2007 - 12:09 PM



Registrado: 17 Dic, 2003
Mensajes: 16815

Check BIOS if the drive is mentioned there.
 
 Ver perfil de usuario Enviar mensaje privado  
Responder citando Volver arriba
gtpeacock
Asunto: output of menu.lst, fdisk -l, and  MensajePublicado: 15 Sep, 2007 - 01:30 AM



Registrado: 12 Jul, 2005
Mensajes: 28
Ubicación: 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.
 
 Ver perfil de usuario Enviar mensaje privado  
Responder citando Volver arriba
Kano
Asunto: output of menu.lst, fdisk -l, and  MensajePublicado: 15 Sep, 2007 - 01:45 AM



Registrado: 17 Dic, 2003
Mensajes: 16815

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.
 
 Ver perfil de usuario Enviar mensaje privado  
Responder citando Volver arriba
gtpeacock
Asunto: RE: output of menu.lst, fdisk -l, and  MensajePublicado: 16 Sep, 2007 - 02:36 AM



Registrado: 12 Jul, 2005
Mensajes: 28
Ubicación: 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.
 
 Ver perfil de usuario Enviar mensaje privado  
Responder citando Volver arriba
eco2geek
Asunto:   MensajePublicado: 16 Sep, 2007 - 06:07 AM



Registrado: 02 May, 2004
Mensajes: 471
Ubicación: Portland, OR, USA
gtpeacock escribió:
#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 escribió:
/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.
 
 Ver perfil de usuario Enviar mensaje privado  
Responder citando Volver arriba
gtpeacock
Asunto:   MensajePublicado: 20 Sep, 2007 - 01:56 AM



Registrado: 12 Jul, 2005
Mensajes: 28
Ubicación: 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.
 
 Ver perfil de usuario Enviar mensaje privado  
Responder citando Volver arriba
ockham23
Asunto:   MensajePublicado: 20 Sep, 2007 - 09:20 PM



Registrado: 25 Mar, 2005
Mensajes: 2133

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").
 
 Ver perfil de usuario Enviar mensaje privado  
Responder citando Volver arriba
gtpeacock
Asunto:   MensajePublicado: 21 Sep, 2007 - 03:17 AM



Registrado: 12 Jul, 2005
Mensajes: 28
Ubicación: 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!
 
 Ver perfil de usuario Enviar mensaje privado  
Responder citando Volver arriba
Mostrar mensajes anteriores:     
Cambiar a:  
Todas las horas son GMT + 1 Hora
Publicar nuevo tema   Responder al tema
Ver tema anterior Versión imprimible Entre para ver sus mensajes privados Ver tema siguiente
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Créditos
 
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.