Skip to content

Instantly share code, notes, and snippets.

@prologic
Created January 18, 2015 02:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save prologic/6fd21b797bb6ee9b5c6e to your computer and use it in GitHub Desktop.
Save prologic/6fd21b797bb6ee9b5c6e to your computer and use it in GitHub Desktop.
created by github.com/tr3buchet/gister
# setup-chroot
bash-4.3# blkid
/dev/sr0: UUID="2015-01-15-04-07-33-00" LABEL="CRUX-3.1-updated" TYPE="iso9660" PTUUID="675ad9ef" PTTYPE="dos"
/dev/sda1: UUID="c85e110e-2f37-4a63-9124-bcecc494b628" SEC_TYPE="ext2" TYPE="ext3" PARTUUID="00005501-01"
/dev/sdf1: UUID="8503f5d8-d5b3-4d06-8679-ee5ad2008c95" TYPE="ext4" PARTUUID="ca70eb3a-01"
bash-4.3# mv /boot/menu.lst /boot/grub.cfg
bash-4.3# cat /boot/grub.cfg
search --no-floppy --fs-uuid --set=root 8503f5d8-d5b3-4d06-8679-ee5ad2008c95
terminal_output gfxterm
set timeout=5
menuentry "CRUX" {
linux /boot/vmlinuz root=PARTUUID=8503f5d8-d5b3-4d06-8679-ee5ad2008c95 ro
}
bash-4.3# vim /boot/grub.cfg
bash-4.3# cat /boot/grub.cfg
search --no-floppy --fs-uuid --set=root 8503f5d8-d5b3-4d06-8679-ee5ad2008c95
terminal_output gfxterm
set timeout=5
menuentry "CRUX" {
linux /boot/vmlinuz root=PARTUUID=ca70eb3a-01 ro
}
bash-4.3# grub-install /dev/disk/by-id/usb-058f_6387_14100601008789-0\:0
Installation finished. No error reported.
bash-4.3#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment