You are not logged in.

#1 2014-04-02 07:15:06

chickenPie4tea
Member
Registered: 2012-08-21
Posts: 309

grub update sets the wrong UUIDs is this an Arch problem?

I never had this happen under Debain I wonder if this is an Arch thing?
I added a new fall back kernel in case a system update and a newer kernel is too much for my old laptop
anyway rebuilding grub with 
sudo update-grub    makes mistakes in the grub.cfg   the top UUID is correct but the second one is wrong and I have to correct it by hand.
below is the part I am talking about but I have corrected the second entry line for each kernel

menuentry "Arch Linux, with Linux core repo kernel (on /dev/sda8)" --class gnu-linux --class gnu --class os {
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos8)'
	search --no-floppy --fs-uuid --set=root e3e07c1a-26dd-4e03-b0d3-00d9f6193493
	linux /boot/vmlinuz-linux root=UUID=e3e07c1a-26dd-4e03-b0d3-00d9f6193493 rw quiet
	initrd /boot/initramfs-linux.img
}
menuentry "Arch Linux, with Linux core repo kernel (Fallback initramfs) (on /dev/sda8)" --class gnu-linux --class gnu --class os {
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos8)'
	search --no-floppy --fs-uuid --set=root e3e07c1a-26dd-4e03-b0d3-00d9f6193493
	linux /boot/vmlinuz-linux root=UUID=e3e07c1a-26dd-4e03-b0d3-00d9f6193493 rw quiet
	initrd /boot/initramfs-linux-fallback.img
}

Edit: I should have also said I updated grub whilst booted into the Debain partition. I installed Arch after Debain so didn't use arch to install grub but just updated grub from Debian so that it would spot the Arch install and add it to the menu in Grub.

Last edited by chickenPie4tea (2014-04-02 09:03:49)


You can like linux without becoming a fanatic!

Offline

#2 2014-04-02 07:47:19

scar
Member
From: Hungary
Registered: 2009-10-01
Posts: 449

Re: grub update sets the wrong UUIDs is this an Arch problem?

What happens, if you use:

sudo grub-mkconfig -o /boot/grub/grub.cfg

Maybe I'm wrong, but as far as I remember, update-grub worked with grub legacy.


“The future has already arrived. It's just not evenly distributed yet.”
― William Gibson

Offline

#3 2014-04-02 08:01:01

cju
Member
Registered: 2013-06-23
Posts: 194

Re: grub update sets the wrong UUIDs is this an Arch problem?

Iirc, `update-grub` is just a debian-specific alias for `grub-mkconfig -o /boot/grub/grub.cfg`...

Offline

#4 2014-04-02 10:54:48

clfarron4
Member
From: London, UK
Registered: 2013-06-28
Posts: 2,175
Website

Re: grub update sets the wrong UUIDs is this an Arch problem?

cju wrote:

Iirc, `update-grub` is just a debian-specific alias for `grub-mkconfig -o /boot/grub/grub.cfg`...

^ That's what I thought.

As @scar suggested, try running

sudo grub-mkconfig -o /boot/grub/grub.cfg

and report back.


Claire is fine.
Problems? I have dysgraphia, so clear and concise please.
My public GPG key for package signing
My x86_64 package repository

Offline

Board footer

Powered by FluxBB