Weird partition arrangements and broken GRUB

Discussion in 'Installation/Configuration' started by doutzen, Jul 27, 2007.

  1. doutzen

    doutzen New Member

    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:

    [​IMG]

    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:
    Code:
    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.
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Yoiu can try to boot into the Debisn system and run
    Code:
    update-grub
    IT should correct any mistakes in the /boot/grub/menu.lst file. :)
     

Share This Page