[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #31425] Post GRUB2 update /boot prefix no longer needed

From: Mark W
Subject: [bug #31425] Post GRUB2 update /boot prefix no longer needed
Date: Sat, 23 Oct 2010 12:38:18 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-GB; rv: Gecko/20101020 Iceweasel/3.5.14 (like Firefox/3.5.14) ( .NET CLR 3.5.30729)


                 Summary: Post GRUB2 update /boot prefix no longer needed
                 Project: GNU GRUB
            Submitted by: nireus2
            Submitted on: Sat Oct 23 12:38:17 2010
                Category: Booting
                Severity: Major
                Priority: 5 - Normal
              Item Group: Non-software Error
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: Mark W
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 1.98
         Reproducibility: None
         Planned Release: None



GRUB2: 1.98+20100804-6
Debian: sid/squeeze (testing)
uname -a: Linux Flo64 2.6.32-5-amd64 #1 SMP Wed Oct 20 00:05:22 UTC 2010
x86_64 GNU/Linux
kernel: 2.6.32-26 (2.6.32+28 meta package)

4 physical SATA drives. fdisk -l | grep Disk:
Disk /dev/sdb: 500.1 GB, 500107862016 bytes
Disk identifier: 0xf4b1995e
Disk /dev/sda: 300.1 GB, 300069052416 bytes
Disk identifier: 0x13871386
Disk /dev/sdd: 1500.3 GB, 1500301910016 bytes
Disk identifier: 0xcb9e8977
Disk /dev/sdc: 1000.2 GB, 1000204886016 bytes
Disk identifier: 0x000d495f
Disk /dev/dm-0: 6996 MB, 6996099072 bytes
Disk identifier: 0x00000000
Disk /dev/dm-1: 12.2 GB, 12192841728 bytes
Disk identifier: 0x00000000
Disk /dev/dm-2: 980.8 GB, 980754104320 bytes
Disk identifier: 0x00000000

The GRUB menu appears with my 3 menu entry's but when it tries to boot to
either of the Linux images (alternate is 2nd, so only one kernel), if reports
file not found (for the kernel and for initrd). So I dropped to the command
line and did an 'ls'  and a 'ls /' and the ls yeilded the kernel and ls / the

On a gut shot feeling I brought back the menu and went to edit it, this is
the grub one:
        insmod part_msdos
        insmod ext2
        set root='(hd2,msdos1)'
        search --no-floppy --fs-uuid --set c3d6a582-5500-43b1-aeba-bdd7fc669419
        echo    'Loading Linux 2.6.32-5-amd64 ...'
        linux   /boot/vmlinuz-2.6.32-5-amd64 root=/dev/mapper/Flo64-root ro  
        echo    'Loading initial ramdisk ...'
        initrd  /boot/initrd.img-2.6.32-5-amd64

So I removed the /boot from linux and initrd 

linux   /vmlinuz-2.6.32-5-amd64 root=/dev/mapper/Flo64-root ro  quiet
initrd  /initrd.img-2.6.32-5-amd64

and did a picard (for those who have not read the manual, I booted), that
worked fine.

So then I figured after the GRUB update it was my fault as GRUB ticks all my
drives to install to apart from the actual linux drive and I had forgotten to
select /dev/sdc (the installer always leaves this unchecked and it shows the
partitions of sdc for selection). NB DEVELOPERS always refuse to install to
/dev/sdc1 please cos I am absent minded and often tick sdc1 rather than the
unticked sdc

So then I just ran grub-install /dev/sdc and rebooted but the same problem is
still there, I have to edit the entry removing /boot on the two lines then
picard it.

I can manual edit the grub file permantly but am loathe to do just in case it
is a bug and will mess things up at next refit.

Have attached grub.cfg and here is a directory list of /boot
ls -l /boot
total 13969
-rw-r--r-- 1 root root   106019 Oct 20 03:30 config-2.6.32-5-amd64
drwxr-xr-x 3 root root     4096 Oct 23 12:32 grub
-rw-r--r-- 1 root root 10038870 Oct 22 11:14 initrd.img-2.6.32-5-amd64
drwxr-xr-x 2 root root    12288 Jun 30  2009 lost+found
drwxr-xr-x 2 root root     1024 Aug 29 22:14 Recycled
-rw-r--r-- 1 root root  1661060 Oct 20 03:30 System.map-2.6.32-5-amd64
-rw-r--r-- 1 root root  2416736 Oct 20 03:28 vmlinuz-2.6.32-5-amd64

should lost+found and Recycled be in there??


File Attachments:

Date: Sat Oct 23 12:38:17 2010  Name: grub.cfg  Size: 3kB   By: nireus2



Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]