PDA

View Full Version : Weird partition arrangements and broken GRUB


doutzen
27th July 2007, 03:40
Hi,

After reading some GRUB tutorials for a good few hours and not getting anywhere, I've decided to post a topic regarding my problem. If it has been covered before please pardon me, I really can't see it :(

A friend of mine brought in his laptop after he said he couldn't get 'windows booting', and when I had a look at the partition table using gparted, I was presented with the following monstrosity:

http://img248.imageshack.us/img248/9545/untitledbf9.png

The first fat32 partition is the recovery files that came with the laptop, the rest is a bit of mess really :)

Relevant bits from /boot/grub/menu.lst:
title Debian GNU/Linux, kernel 2.6.18-4-686
root (hd0,2)
kernel /boot/vmlinuz-2.6.18-4-686 root=/dev/sda3 ro
initrd /boot/initrd.img-2.6.18-4-686
savedefault

title Debian GNU/Linux, kernel 2.6.18-4-686 (single-user mode)
root (hd0,2)
kernel /boot/vmlinuz-2.6.18-4-686 root=/dev/sda3 ro single
initrd /boot/initrd.img-2.6.18-4-686
savedefault

title Microsoft Windows XP
root (hd0,3)
savedefault
makeactive
chainloader +1

title Acer eRecovery Management
root (hd0,0)
savedefault
makeactive
chainloader +1


I've tried all the possible combinations for the root directive of the Windows section, but it doesn't want to load windows.

Is there any way I can address the ntfs partition within that extended partition, or do I need to modify the structure. (I'd very much prefer not changing the structure, even though it is quite messy)


I am stuck so any help would be much appreciated.

Many thanks.

falko
27th July 2007, 20:07
Yoiu can try to boot into the Debisn system and run
update-grub
IT should correct any mistakes in the /boot/grub/menu.lst file. :)