Page 1 of 1

consistent mounting of disks

Posted: 30 Nov 2015, 13:12
by rych
I'd like to have my host system disk that is labelled "Windows" (there is always such a disk) to be always mounted on /mnt/sda1. Where do I edit the way Porteus mounts disks making it use /dev/disk/by-label/Windows?

Re: consistent mounting of disks

Posted: 24 Dec 2015, 13:54
by Rava
Like almost all Linux systems, Porteus mounts the partitions the same way they are physical named, e.g. /dev/sda1 will mounted as /mnt/sda1.

Just ask fdisk -l how the disks and partitions are sorted in a currently running Linux.

Re: consistent mounting of disks

Posted: 24 Dec 2015, 15:42
by Ed_P
rych wrote:I'd like to have my host system disk that is labelled "Windows" (there is always such a disk) to be always mounted on /mnt/sda1. Where do I edit the way Porteus mounts disks making it use /dev/disk/by-label/Windows?
While Windows sees only the partitions it is meant to see, Linux/Porteus sees all of the partitions on the hard drive and on almost all systems bought in the past 10 yrs there are hidden partitions before the Windows partition. Vendor recovery partitions and then Windows system partitions come first so the Windows partition in Linux is usually sda2 or sda3.

If you want the Windows partition to be sda1 you need to repartition the hard drive and switch to a version of Windows that doesn't require a hidden reserve partition for it's BCD file or UEFI system.