Weird partition arrangements and broken GRUB



Hi,

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

Now before I start, I'd like to point out that we are both debian
users both due to the nature of our work, we have to have a windows
installation on our machines. Sad but true :(

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:

screenshot:
http://***image.***bayimg.***com/oaeikaabk.jpg
(please get rid of the 9 stars, the mailing list wouldn't accept my
message without these)


(for the text based readers), it looks a bit like:
/dev/sda1 fat32 (boot)
/dev/sda2 extended (lba)
/dev/sda5 ntfs (boot)
/dev/sda6 linux-swap
/dev/sda3 ext3

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.
Hamza


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: Copying files to a windows XP partition (mtools?)
    ... you should have a vfat partition to exchange data between ... Linux and Windows using mtools. ... I used mtools. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Debian/NT Dual Boot?
    ... for setting up a dual-boot system running Debian and NT. ... If I want to put NT on the computer too, would I just partition the disk ... Unless the target is a laptop, I would put Windows on a separate hard drive, avoiding risk of data loss and the need to modify a boot loader. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • Re: Best way to shrink Windows on new laptop?
    ... I'd therefore like to keep Windows, at least for the moment, so I'll ... need to shrink its partition. ... "If your machine has a FAT or NTFS filesystem, ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Installing a dual-boot Linux and Windows system with two hard drives...
    ... Windows. ... format that partition in FAT32! ... between Linux and Window$ will be very easy. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: dual boot - xp behaves strange
    ... The Windows partition does *NOT* boot. ...
    (Ubuntu)