Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian Kernel (http://www.linux-archive.org/debian-kernel/)
-   -   Bug#599614: closed by Ben Hutchings ( Bug#599614: linux-base: on upgrade /dev/hd not changed to /dev/sd in grub) (http://www.linux-archive.org/debian-kernel/500355-bug-599614-closed-ben-hutchings-ben-decadent-org-uk-bug-599614-linux-base-upgrade-dev-hd-nn-not-changed-dev-sd-nn-grub.html)

Rustom Mody 03-12-2011 08:36 AM

Bug#599614: closed by Ben Hutchings ( Bug#599614: linux-base: on upgrade /dev/hd not changed to /dev/sd in grub)
 
Hi Ben

If I wish to check this, what can I check?
In particular can I start with a clean setup (no resume line) and
reconfigure linux-base?
Should that put a resume line?

> So the problem is that /dev/hda13 doesn't actually exist and therefore
> cannot be mapped to anything else. This is not a bug in linux-base.

Well some (upgradation) put that hda13 -- not me :-) -- Ive never had an hda13.
So while it may not be a bug in linux-base its some bug somewhere --
could you suggest where?

For the record I am asking 2 questions:
The second which is possibly hard to answer is who/what/ put the wrong
partition numbers?

The main question is: What do I have to do to get a correct resume
line in grub without adding it myself?

Thanks

Rusi


On Sat, Mar 12, 2011 at 12:42 PM, Debian Bug Tracking System
<owner@bugs.debian.org> wrote:
> This is an automatic notification regarding your Bug report
> which was filed against the linux-base package:
>
> #599614: linux-base: on upgrade /dev/hd<nn> not changed to /dev/sd<nn> in grub
>
> It has been closed by Ben Hutchings <ben@decadent.org.uk>.
>
> Their explanation is attached below along with your original report.
> If this explanation is unsatisfactory and you have not received a
> better one in a separate message then please contact Ben Hutchings <ben@decadent.org.uk> by
> replying to this email.
>
>
> --
> 599614: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=599614
> Debian Bug Tracking System
> Contact owner@bugs.debian.org with problems
>
>
> ---------- Forwarded message ----------
> From:*Ben Hutchings <ben@decadent.org.uk>
> To:*599614-done@bugs.debian.org
> Date:*Sat, 12 Mar 2011 07:09:00 +0000
> Subject:*Re: Bug#599614: linux-base: on upgrade /dev/hd<nn> not changed to /dev/sd<nn> in grub
> On Sun, 2010-10-10 at 18:51 +0530, Rustom Mody wrote:
>> 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
>
> So the problem is that /dev/hda13 doesn't actually exist and therefore
> cannot be mapped to anything else. *This is not a bug in linux-base.
>
>> 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.
> [...]
>
> You must report each bug separately.
>
> Ben.
>
> --
> Ben Hutchings
> Once a job is fouled up, anything done to improve it makes it worse.
>
>
> ---------- Forwarded message ----------
> From:*Rustom Mody <rustompmody@gmail.com>
> To:*Debian Bug Tracking System <submit@bugs.debian.org>
> Date:*Sat, 09 Oct 2010 21:17:15 +0530
> Subject:*linux-base: on upgrade /dev/hd<nn> not changed to /dev/sd<nn> in grub
> 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?
>
>
>
> -- System Information:
> Debian Release: squeeze/sid
> *APT prefers unstable
> *APT policy: (500, 'unstable')
> Architecture: i386 (i686)
>
> Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
> Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
> Shell: /bin/sh linked to /bin/dash
>
> Versions of packages linux-base depends on:
> ii *debconf [debconf-2.0] * * * * 1.5.36 * * Debian configuration management sy
> ii *libuuid-perl * * * * * * * * *0.02-4 * * Perl extension for using UUID inte
> ii *udev * * * * * * * * * * * * *161-1 * * */dev/ and hotplug management daemo
> ii *util-linux * * * * * * * * * *2.17.2-3.3 Miscellaneous system utilities
>
> linux-base recommends no packages.
>
> linux-base suggests no packages.
>
> -- debconf information:
> *linux-base/disk-id-manual-boot-loader:
> *linux-base/disk-id-update-failed:
> *linux-base/disk-id-manual:
> * linux-base/disk-id-convert-plan-no-relabel: true
> * linux-base/disk-id-convert-auto: true
> *linux-base/do-bootloader-default-changed:
> *linux-base/disk-id-convert-plan: true
>
>
>
>



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: AANLkTikXxAurrjpsHoXz0iTjL1OtQe8ymZob7hJPzX+m@mail .gmail.com">http://lists.debian.org/AANLkTikXxAurrjpsHoXz0iTjL1OtQe8ymZob7hJPzX+m@mail .gmail.com

Ben Hutchings 03-12-2011 04:23 PM

Bug#599614: closed by Ben Hutchings ( Bug#599614: linux-base: on upgrade /dev/hd not changed to /dev/sd in grub)
 
On Sat, 2011-03-12 at 15:06 +0530, Rustom Mody wrote:
> Hi Ben
>
> If I wish to check this, what can I check?
> In particular can I start with a clean setup (no resume line) and
> reconfigure linux-base?

Yes, dpkg-reconfigure works.

> Should that put a resume line?

No.

> > So the problem is that /dev/hda13 doesn't actually exist and therefore
> > cannot be mapped to anything else. This is not a bug in linux-base.
>
> Well some (upgradation) put that hda13 -- not me :-) -- Ive never had an hda13.
> So while it may not be a bug in linux-base its some bug somewhere --
> could you suggest where?
[...]

initramfs-tools creates that file on installation, but it would not
invent a device name that does not exist. So, maybe you deleted a
partition at some time since then.

Ben.

--
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.


All times are GMT. The time now is 11:27 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.