Hello
My Slackware64 13.2 setup is:
Code:
$fdisk /dev/sdb
Welcome to fdisk (util-linux 2.27.1).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
Command (m for help): p
Disk /dev/sdb: 931.4 GiB, 1000120975360 bytes, 1953361280 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 66F6F422-C1DC-4EC6-A111-387DE963444C
Device Start End Sectors Size Type
/dev/sdb1 2048 16779263 16777216 8G Linux swap
/dev/sdb2 16779264 18876415 2097152 1G Linux filesystem
/dev/sdb3 18876416 184551423 165675008 79G Linux filesystem
/dev/sdb4 184551424 1953361246 1768809823 843.4G Linux filesystem
/dev/sdb2 is /boot
/dev/sdb3 is /
/dev/sdb4 is /home
Code:
$ls -lF /dev/disk/by-uuid/
lrwxrwxrwx 1 root root 10 Nov 4 2016 068586c4-464a-4d4e-82bf-ac94f7d7c6ac -> ../../sda8
lrwxrwxrwx 1 root root 10 Nov 4 2016 07E619850D196770 -> ../../sda3
lrwxrwxrwx 1 root root 10 Nov 3 23:02 18936490-953b-4c52-b5c5-4bb7bd80a2c5 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Nov 3 22:58 2016-06-30-18-21-58-24 -> ../../sdh1
lrwxrwxrwx 1 root root 10 Nov 3 22:58 250013e7-a880-4188-8e1e-206d9e0e314e -> ../../sdc1
lrwxrwxrwx 1 root root 10 Nov 4 2016 5C1608A216087F70 -> ../../sda2
lrwxrwxrwx 1 root root 10 Nov 4 2016 5e910aed-4a4f-46ff-8f8d-d72a8cc08efb -> ../../sda7
lrwxrwxrwx 1 root root 10 Nov 3 22:58 67F7-C764 -> ../../sdh2
lrwxrwxrwx 1 root root 10 Nov 4 2016 6d0164ce-24cd-4fa4-afe0-93901c3c9e20 -> ../../sda6
lrwxrwxrwx 1 root root 10 Nov 4 2016 CA1E05A41E058AA1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Nov 3 23:02 b60d3b8f-02de-4142-8387-804e73fbba0a -> ../../sdb3
lrwxrwxrwx 1 root root 10 Nov 4 2016 bd4aa644-f2c0-414e-af0c-6503a6ade714 -> ../../sda5
lrwxrwxrwx 1 root root 10 Nov 3 23:02 bf4d4304-3003-4a5e-be37-b8d54f5b49cc -> ../../sdb4
lrwxrwxrwx 1 root root 10 Nov 3 23:02 c3039827-d728-4151-b68f-68a4abbca35e -> ../../sdb2
My settings /etc/grud.d/40_custom
Code:
!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
menuentry "Slackware 14.2" --class slackware --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd1,msdos3)'
search --no-floppy --fs-uuid --set=root b60d3b8f-02de-4142-8387-804e73fbba0a
linux /boot/vmlinuz root=UUID=b60d3b8f-02de-4142-8387-804e73fbba0a ro vga=793 quiet nomodeset
initrd /boot/initrd.gz
}
#menuentry 'Microsoft Windows 7 or Windows 8 (on sda)' --class windows {
# insmod part_msdos
# insmod ntfs
# insmod search_fs_uuid
# insmod ntldr
# search --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 CA1E05A41E058AA1
# drivemap (hd1,msdos1) (hd0,msdos1)
#Or, "drivemap (hd1,msdos2) (hd0,msdos1)" for those with Windows installed on sdb2)
# ntldr /bootmgr
#}
menuentry "OpenELEC" --class openelec {
insmod part_msdos
insmod ext2
set root='(hd0,msdos6)'
linux /KERNEL boot=/dev/sda6 disk=/dev/sda7 quiet
}
menuentry "OpenELEC debugging" --class openelec {
insmod part_msdos
insmod ext2
set root='(hd0,msdos6)'
linux /KERNEL boot=/dev/sda6 disk=/dev/sda7 debugging
}
menuentry "System restart" {
echo "System rebooting..."
reboot
}
menuentry "System shutdown" {
echo "System shutting down..."
halt
}
I can't boot!
I receive a message that it can't find /boot/vmlinuz.
I know that is because I set root as /dev/sdb3
How I can setup grub to use /boot/ one a different partition?
In this case my /boot is on /dev/sdb2
Sorry that this not a Slackware question!
But I'm using Slackware!