GRUB issues(Warning NOOB) SOLVED

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
User avatar
crossfire139
Level 1
Level 1
Posts: 17
Joined: Mon Jun 04, 2007 7:41 pm
Location: Wellington, New Zealand

GRUB issues(Warning NOOB) SOLVED

Post by crossfire139 »

I have WinXP Pro installed on a SATA drive and originally had Feisty installed on an IDE drive. GRUB bootloader worked fine and I was able to boot up to either OS. I am paranoid about losing the info on the Win drive and disconnected the SATA disk before installing Cassandra over Feisty (I thought I did the same thing when installing Feisty). Now however, only Cassandra appears in GRUB. I can still boot to the Win drive if I disconnect the IDE drive so the Win installation is still OK. Is it possible from this point to get GRUB to recognise the SATA drive and include Win in the boot options. At present only the IDE drive is listed in the GRUB device map.
Thanks
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
crossfire139
Level 1
Level 1
Posts: 17
Joined: Mon Jun 04, 2007 7:41 pm
Location: Wellington, New Zealand

Post by crossfire139 »

Thanks for the help.
Have edited the grub file and the link to Win XP appears in the bootloader but clicking it causes an Error 13. I think it is a problem with accessing the SATA drive and have been trying to solve it with no luck. Have to resort to asking for help again.

hda is dedicated to Cassandra
sda1 is WinXP Pro

Following is the content of menu.lst
title Linux Mint, kernel 2.6.20-16-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=2cff1121-3a04-4cb7-abe1-f215f236d1bd ro quiet splash
initrd /boot/initrd.img-2.6.20-16-generic
quiet
savedefault

title Linux Mint, kernel 2.6.20-16-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=2cff1121-3a04-4cb7-abe1-f215f236d1bd ro single
initrd /boot/initrd.img-2.6.20-16-generic

title Linux Mint, kernel 2.6.20-15-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=2cff1121-3a04-4cb7-abe1-f215f236d1bd ro quiet splash
initrd /boot/initrd.img-2.6.20-15-generic
quiet
savedefault

title Linux Mint, kernel 2.6.20-15-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=2cff1121-3a04-4cb7-abe1-f215f236d1bd ro single
initrd /boot/initrd.img-2.6.20-15-generic

title Linux Mint, memtest86+
root (hd0,0)
kernel /boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST

title Other Operating Systems
root

title Windows XP Pro
root (hd0,0)
savedefault
makeactive
chainloader +1
device.map
(hd0) /dev/hda
(hd1) /dev/hdb
All advice much appreciated.
Thanks
User avatar
Boo
Level 7
Level 7
Posts: 1633
Joined: Mon Mar 26, 2007 7:48 am

Post by Boo »

this is what you want for the xp part:

title Microsoft Windows XP Professional
root (hd1,0)
savedefault
makeactive
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1

windows has to think it is on the first hard disk, but you have it on the second.
So you trick it by logically swapping the hard disks around, the map part.

:D
Image
Now where was i going? Oh yes, crazy!
User avatar
crossfire139
Level 1
Level 1
Posts: 17
Joined: Mon Jun 04, 2007 7:41 pm
Location: Wellington, New Zealand

Post by crossfire139 »

Thanks, making progress.
Though it doesn't help when I don't give all the information......Duuh!

hda - Cassandra
hdb - NTFS storage
sda - WinXP Pro
sdb - NTFS storage

After applying corrections from Boo, attempts to run WinXP from GRUB return an error
NTLDR is missing
If I disconnect hdb Win boots from GRUB just fine.
Looks to my confused eye like a disk mapping problem but I don't understand enough about how it works to correct it.
Have to ask for help again.



title Linux Mint, kernel 2.6.20-16-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=2cff1121-3a04-4cb7-abe1-f215f236d1bd ro quiet splash
initrd /boot/initrd.img-2.6.20-16-generic
quiet
savedefault

title Linux Mint, kernel 2.6.20-16-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=2cff1121-3a04-4cb7-abe1-f215f236d1bd ro single
initrd /boot/initrd.img-2.6.20-16-generic

title Linux Mint, kernel 2.6.20-15-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=2cff1121-3a04-4cb7-abe1-f215f236d1bd ro quiet splash
initrd /boot/initrd.img-2.6.20-15-generic
quiet
savedefault

title Linux Mint, kernel 2.6.20-15-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=2cff1121-3a04-4cb7-abe1-f215f236d1bd ro single
initrd /boot/initrd.img-2.6.20-15-generic

title Linux Mint, memtest86+
root (hd0,0)

kernel /boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST

title Other Operating Systems
root

title Windows XP Pro
root (hd1,0)
savedefault
makeactive
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1
User avatar
Boo
Level 7
Level 7
Posts: 1633
Joined: Mon Mar 26, 2007 7:48 am

Post by Boo »

the error just says it can not find windows to boot (NT Loader).
well swap a bit more:

title Windows XP Pro
root (hd2,0)
savedefault
makeactive
map (hd0) (hd2)
map (hd2) (hd0)
chainloader +1

well it sounds right...

:D
Image
Now where was i going? Oh yes, crazy!
User avatar
crossfire139
Level 1
Level 1
Posts: 17
Joined: Mon Jun 04, 2007 7:41 pm
Location: Wellington, New Zealand

Post by crossfire139 »

Bingo!
All good. Thanks for the help....and for being patient.

:oops: :D
Locked

Return to “Installation & Boot”