update-grub and kopt / groot lines

Matt Zimmerman mdz at ubuntu.com
Wed Aug 9 02:26:55 BST 2006


https://launchpad.net/distros/ubuntu/+source/grub/+bug/21412

On Tue, Aug 08, 2006 at 03:03:51PM +0200, Laurent - CyberSDF wrote:
> Hello all,
> 
> First sorry for my poor english.
> 
> 
> On a laptop with a dua-boot (windows / Ubuntu) i made something like that :
> /dev/hda1 => Windows
> /dev/hda2 => /
> /dev/hda3 => swap
> 
> after somme time the size of hda3 was too small for the user, right there
> is much free place on hda1.
> 
> After partitionnement i have :
> /dev/hda1 => Windows
> /dev/hda2 => /home/user/data
> /dev/hda3 => /
> /dev/hda4 => swap
> 
> Of course i have edited my menu.lst to indicate the new location of my
> root and my kernel and all work fine.
> 
> But when a kernel update came, the menu.lst was regenerated with old
> values. So strange... Why this ?
> 
> After some research, quite simply, when update-grub is calling by the
> kernel update operation the two lines
> # kopt=root=/dev/hda3 ro
> # groot=(hd0,2)
> are interpreted whereas they are commented.
> 
> I think this is very awkward, and i suggest to modify this operation by
> interpreting them ONLY if the line is uncomment.
> 
> 
> 
> -- 
> ubuntu-devel mailing list
> ubuntu-devel at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel

-- 
 - mdz



More information about the ubuntu-devel mailing list