Grub bad partition pointing after kernel upgrade
  Home FAQ Contact Sign in
linux.debian.ports.x86-64 only
 
Advanced search
POPULAR GROUPS

more...

linux.debian.ports.x86-64 Profile…
 Up
Grub bad partition pointing after kernel upgrade         


Author: antonio giulio
Date: Aug 8, 2006 00:50

Hi,

everytime I upgrade kernel (debian unstable), grub is automatically
updated. But grub "points" to the $HOME partition and not '/'
partition. And so I must modify menu.lst file manually.
Is it a bug or a bad setting?

example:
If my kernel is in /dev/hda1 and my $HOME in /dev/hda3, after upgrade
grub points for kernel image to /dev/hda3 instead of /dev/hda1

Thanks,
Giulio

--
To UNSUBSCRIBE, email to debian-amd64-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
4 Comments
Re: Grub bad partition pointing after kernel upgrade         


Author: Hamish Moffatt
Date: Aug 8, 2006 00:50

On Tue, Aug 08, 2006 at 09:40:44AM +0200, antonio giulio wrote:
> example:
> If my kernel is in /dev/hda1 and my $HOME in /dev/hda3, after upgrade
> grub points for kernel image to /dev/hda3 instead of /dev/hda1

Can you post an excerpt from your menu.lst to show what you mean?

There are defaults for some grub options earlier in the file eg root
device, options etc. Check that those are set correctly for your setup.
They are copied to the other menu items when that file is updated by
adding/removing a kernel.

Hamish
--
Hamish Moffatt VK3SB debian.org> cloud.net.au>

--
To UNSUBSCRIBE, email to debian-amd64-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
no comments
Re: Grub bad partition pointing after kernel upgrade         


Author: Hans
Date: Aug 8, 2006 01:10

Am Dienstag, 8. August 2006 09:40 schrieb antonio giulio:
> Hi,
>
> everytime I upgrade kernel (debian unstable), grub is automatically
> updated. But grub "points" to the $HOME partition and not '/'
> partition. And so I must modify menu.lst file manually.
> Is it a bug or a bad setting?
>
> example:
> If my kernel is in /dev/hda1 and my $HOME in /dev/hda3, after upgrade
> grub points for kernel image to /dev/hda3 instead of /dev/hda1
>
> Thanks,
> Giulio

Hi Gulio,

should not be normal. Please check in /boot/grub/menul.lst the line

# kopt=root=/dev/hda6 ro

It is in the section with the many hashes. Do not remove the hashes (suppose,
you know this).
Show full article (1.02Kb)
2 Comments
Re: Grub bad partition pointing after kernel upgrade         


Author: antongiulio05
Date: Aug 8, 2006 10:30

> should not be normal. Please check in /boot/grub/menul.lst the line
>
> # kopt=root=/dev/hda6 ro
>
> It is in the section with the many hashes. Do not remove the hashes (suppose,
> you know this).
>
> If you enter here the correct partition for root, an upgrade should be o.k.
> next time.

this is an extract of my menu.lst:

# kopt=root=/dev/hda7 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,6)

could it become like this?

# kopt=root=/dev/hda3 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,2)
Show full article (0.77Kb)
1 Comment
Re: Grub bad partition pointing after kernel upgrade         


Author: Hamish Moffatt
Date: Aug 8, 2006 16:00

On Tue, Aug 08, 2006 at 07:27:04PM +0200, antongiulio05 wrote:
> this is an extract of my menu.lst:
>
> # kopt=root=/dev/hda7 ro
>
> ## default grub root device
> ## e.g. groot=(hd0,0)
> # groot=(hd0,6)
>
> could it become like this?
>
> # kopt=root=/dev/hda3 ro

Yes, just edit it.

Hamish
--
Hamish Moffatt VK3SB debian.org> cloud.net.au>

--
To UNSUBSCRIBE, email to debian-amd64-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
no comments