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

Bug#599614: linux-base: on upgrade /dev/hd<nn> not changed to /dev/sd<nn> in grub



On Sun, Oct 10, 2010 at 8:11 AM, Ben Hutchings <ben@decadent.org.uk> wrote:
> On Sat, 2010-10-09 at 21:17 +0530, Rustom Mody wrote:
>> Package: linux-base
>> Version: 2.6.32-24
>> Severity: normal
>>
>> My hibernate was not working. The discussion is at
>> http://forums.debian.net/viewtopic.php?f=10&t=55976
>> In short I need to add by hand resume=/dev/sda<nn> in grub.cfg
>>
>> With some help I found that my file /etc/initramfs-tools/conf.d/resume
>> has hda instead of sda.
>> Something evidently failed to upgrade this I guess?
>
> There is code in initramfs-tools which should update this file.  Please
> can you change it back to the previous value temporarily, run
> 'dpkg-reconfigure linux-base' and report what it says?

I dont have a previous! (I am guessing you mean initramfs-tools?)
Anyhow I ran dpkg-reconfigure linux-base. (My conf.d/resume file is unchanged)
It gave me nothing and the /etc/initramfs-tools/conf.d/resume has
/dev/hda13 instead of /dev/sda12

Actually this reminds me of another bug when upgrading to grub2 (sorry
this is entirely from memory)
The grub.cfg was screwed up with partition numbers greater than my
greatest partition
system was unbootable and had to be started with a rescue disk.

My current fdisk gives

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0009aa8f

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        1020     8193118+   7  HPFS/NTFS
/dev/sda2            1021        1657     5116702+   b  W95 FAT32
/dev/sda3            1658        1670      104422+  83  Linux
/dev/sda4            1671        9729    64733917+   5  Extended
/dev/sda5            1671        1772      819283+  83  Linux
/dev/sda6            1773        2919     9213246   83  Linux
/dev/sda7            2920        3429     4096543+  83  Linux
/dev/sda8            3430        5341    15358108+  83  Linux
/dev/sda9            5342        7190    14852061   83  Linux
/dev/sda10           7191        8454    10153048+  83  Linux
/dev/sda11           8455        9602     9221278+  83  Linux
/dev/sda12           9603        9729     1020096   82  Linux swap / Solaris



Reply to: