This new machine came with a windows 10 installed in a SDD disk, so I connected my two hard disks (porteus 3.2.2 is installed in one of them, the other is just data) to this new pc, so now there's 4 SATA devices: original SDD hard disk, DVD and my two old hard disks added.
Code: Select all
# fdisk -l /dev/sda
Disk /dev/sda: 238.5 GiB, 256060514304 bytes, 500118192 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: 0xef69f2c1
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 1026047 1024000 500M 7 HPFS/NTFS/exFAT
/dev/sda2 1026048 500113407 499087360 238G 7 HPFS/NTFS/exFAT
# fdisk -l /dev/sdb
Disk /dev/sdb: 232.9 GiB, 250000000000 bytes, 488281250 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: 0x0001425c
Device Boot Start End Sectors Size Id Type
/dev/sdb1 2048 476209151 476207104 227.1G 83 Linux
/dev/sdb2 476211198 488280063 12068866 5.8G 5 Extended
/dev/sdb5 476211200 488280063 12068864 5.8G 82 Linux swap
# fdisk -l /dev/sdc
Disk /dev/sdc: 232.9 GiB, 250000000000 bytes, 488281250 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: 0x0001425c
Device Boot Start End Sectors Size Id Type
/dev/sdc1 * 63 476214794 476214732 227.1G 83 Linux
/dev/sdc2 476214795 488279609 12064815 5.8G 82 Linux swap
root@porteus:/home/guest#
As you can see the disk /dev/sda has two partitions (sda1 and sda2) and only first partition sda1 is bootable, so I assume this is the partition to use (and also assume it's UEFI but dunno)
Since I like my porteus system where I have all my data and tools I want to setup a dual boot, so I want to add a "porteus boot option" to windows 10 boot manager menu but I don't know how to do it because never used windows that way, so if anybody knows about please tell
Before I tried to boot windows 10 from porteus modifying porteus.cfg in boot/syslinux but without success, it seems COM32 is too old to deal with ntldr, I don't know if the windows system is a UEFI (I suppose it is) or not, here's the relevant parts of my porteus.cfg
Code: Select all
LABEL hd1
MENU LABEL Boot from the first hd
COM32 chain.c32
APPEND hd0 1
TEXT HELP
boot the first partition of
the hard drive
ENDTEXT
LABEL hd2
MENU LABEL Boot from the first hd 2
COM32 chain.c32
APPEND hd0 2
TEXT HELP
boot the first partition of
the hard drive
ENDTEXT