Re: grub.cfg

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



On Mon, 2023-04-10 at 10:11 +0200, Ralf Mardorf wrote:
> IIUC the grub.cfg entry should read
> 
>    menuentry "Ubuntu X Moon Studio lowlatency" {
>            search --no-floppy --set=root --label s3.archlinux
> 	   linux   /.boot/ubuntu_moonstudio/boot/vmlinuz-lowlatency root=LABEL=moonstudio ro
>    	initrd  /.boot/ubuntu_moonstudio/boot/initrd.img-lowlatency
>    }
>    
> OTOH I've got some doubts, should it be vice versa
> 
>            search --no-floppy --set=root --label moonstudio
> 	   linux   /.boot/ubuntu_moonstudio/boot/vmlinuz-lowlatency root=LABEL=s3.archlinux ro

"set root=(hdX,Y) sets the boot partition, where the kernel and GRUB
modules are stored (boot need not be a separate partition, and may
simply be a directory under the "root" partition (/)" -
https://wiki.archlinux.org/title/GRUB#Custom_grub.cfg

Ok, IIUC usually it's the partition that holds /boot (not necessarily
/boot/grub/, too).

So IIUC it should read

   menuentry "Ubuntu X Moon Studio lowlatency" {
           search --no-floppy --set=root --label s3.archlinux
	   linux   /.boot/ubuntu_moonstudio/boot/vmlinuz-lowlatency root=/dev/disk/by-label/moonstudio ro
   	   initrd  /.boot/ubuntu_moonstudio/boot/initrd.img-lowlatency
   }

Usually I would simply test it, but due to issues with new hardware
"just testing" is tricky.





[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux