[syslinux] Hiding partitions at boot time
Stuart Foster
smf.linux at ntlworld.com
Tue Apr 4 02:24:06 PDT 2017
Hi,
My problem is I have a particular system which has Linux (LFS) and
Windows XP on one drive and Windows 10 on a second drive.
I use extlinux to boot my systems and all three systems boot as
expected, however in use I have found unsatisfactory interactions
between the Windows XP and the Windows 10 systems.
My question is:
Is it possible on booting one of the Windows systems to hide completely
the other Windows systems partitions, I have experimented with the
chain.c32 "hide" commands but I have failed to find a satisfactory solution.
Attached is the text from my extlinux.conf file and the output from
fdisk -l. for reference.
The version of syslinux I am using is 6.03.
Thanks
Stuart
-------------- next part --------------
extlinux.conf:
ui vesamenu.c32
prompt 0
timeout 300
default LFSmain
menu resolution 1600 1200
menu background Pingu.png
menu title Intel PC 'Pingu' Boot Menu: V1.0
menu rows 9
menu color unsel 37;44 #ff008000 #20008000 std
menu color sel 7;37;40 #ff00f000 #20008000 std
menu separator
label LFS10
menu label Windows 10
kernel chain.c32
append hd1 1
menu separator
label LFSxp
menu label Windows XP
kernel chain.c32
append hd0 2
menu separator
label LFSmain
menu label Linux-4.10.8
linux /vmlinuz-4.10.8
append ro root=/dev/sda4 radeon.modeset=1 iommu=pt iommu=1 radeon.dpm=1 drm_kms_helper.edid_firmware=edid/1600x1200.bin
menu separator
label LFSaux
menu label Recovery
linux /vmlinuz-4.10.6
append ro root=/dev/sda4 radeon.modeset=1 iommu=pt iommu=1 radeon.dpm=1 drm_kms_helper.edid_firmware=edid/1600x1200.bin
menu separator
fdisk -l :
Disk /dev/sda: 119.2 GiB, 128035676160 bytes, 250069680 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: 0x430f27bc
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 67583 65536 32M 83 Linux
/dev/sda2 67584 131137535 131069952 62.5G 7 HPFS/NTFS/exFAT
/dev/sda3 131137536 139526143 8388608 4G 82 Linux swap / Solaris
/dev/sda4 139526144 250069679 110543536 52.7G 83 Linux
Disk /dev/sdb: 111.8 GiB, 120034123776 bytes, 234441648 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x1d747409
Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 2048 264191 262144 128M 7 HPFS/NTFS/exFAT
/dev/sdb2 264192 234435599 234171408 111.7G 7 HPFS/NTFS/exFAT
More information about the Syslinux
mailing list