Here is my custom_40:
Code: Select all
!/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.
# path to the partition holding ISO images (using UUID)
probe -u $root --set=rootuuid
set imgdevpath="/dev/disk/by-uuid/$rootuuid"
menuentry "porteus on sda6 64bit_v31 XFCE" {
set root=UUID=ba41ed7f-ed95-4555-bdbd-2ccd5a345cf8
linux /64bit_v31/boot/syslinux/vmlinuz from=/dev/sdb1/64bit_v31 extramod=/mnt/sdb1/64bit_v31/xfce changes=/64bit_v31 login=root
initrd /64bit_v31/boot/syslinux/initrd.xz
}
menuentry "porteus on sda6 64bit_v31 XFCE" {
set root=(hd1,1)
linux /boot/syslinux/vmlinuz from=/dev/sdb1/64bit_v31 extramod=/mnt/sdb1/64bit_v31/xfce changes=/64bit_v31 login=root
initrd /boot/syslinux/initrd.xz
}
Code: Select all
root@debian:/home/rimbaud# lsblk -f
NAME FSTYPE LABEL UUID MOUNTPOINT
sda
├─sda1 ext4 e9b98257-3751-4458-86cb-e01af19572e0 /
├─sda2
└─sda5 swap a013dd46-2cfa-4238-982d-efb1e6229799 [SWAP]
sdb
├─sdb1 ext4 porteus ba41ed7f-ed95-4555-bdbd-2ccd5a345cf8
└─sdb2 ext4 manjaro dbece8af-bf80-4407-8098-e086177240e8
sr0
root@debian:/home/rimbaud#
Code: Select all
root@debian:/home/rimbaud# fdisk -l
Disk /dev/sda: 74.5 GiB, 80000000000 bytes, 156250000 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: dos
Disk identifier: 0x41827a0a
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 149979135 149977088 71.5G 83 Linux
/dev/sda2 149981182 156248063 6266882 3G 5 Extended
/dev/sda5 149981184 156248063 6266880 3G 82 Linux swap / Solaris
Disk /dev/sdb: 149.1 GiB, 160041885696 bytes, 312581808 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: dos
Disk identifier: 0x75bd44ed
Device Boot Start End Sectors Size Id Type
/dev/sdb1 2048 149415935 149413888 71.3G 83 Linux
/dev/sdb2 149415936 312580095 163164160 77.8G 83 Linux
root@debian:/home/rimbaud#
blkid
Code: Select all
root@debian:/home/rimbaud# blkid
/dev/sda1: UUID="e9b98257-3751-4458-86cb-e01af19572e0" TYPE="ext4" PARTUUID="41827a0a-01"
/dev/sda5: UUID="a013dd46-2cfa-4238-982d-efb1e6229799" TYPE="swap" PARTUUID="41827a0a-05"
/dev/sdb1: LABEL="porteus" UUID="ba41ed7f-ed95-4555-bdbd-2ccd5a345cf8" TYPE="ext4" PARTUUID="75bd44ed-01"
/dev/sdb2: LABEL="manjaro" UUID="dbece8af-bf80-4407-8098-e086177240e8" TYPE="ext4" PARTUUID="75bd44ed-02"
root@debian:/home/rimbaud#
Code: Select all
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda1 during installation
UUID=e9b98257-3751-4458-86cb-e01af19572e0 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=a013dd46-2cfa-4238-982d-efb1e6229799 none swap sw 0 0
/dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0
You've got to load the kernel first.
What could be wrong?