Running GRUB, I want to set the kernel root parameter to the same partition (or more generically, to a partition on the same device) as the disk with the bootloader.Initially, the install set the GRUB menu item to pass /dev/XX as the root parameter:title XXXXX    root (hd#,#)    kernel /boot/vmlinuz-XXXX root=/dev/XX1 resume=/dev/XX2 splash=silent quiet showopts vga=0x###    initrd /boot/initrd-XXXXI can change the kernel line to reference my disk's label, increasing its tolerance for appearing in various orders:    kernel /boot/vmlinuz-XXXX root=LABEL=??? resume=LABEL=swap? splash=silent quiet showopts vga=0x###I would like to change that line so that I can reference the boot partition, whether it's /dev/sda2 or /dev/hdb6, or even better to reference only a partition number, which the kernel will interpret relative to the boot partition (root (hd#,#) in GRUB).
Set Kernel Root to Same Partition as Boot
kernel;boot;boot loader