Porteus IV fstab generation

New features which should be implemented in Porteus; suggestions are welcome. All questions or problems with testing releases (alpha, beta, or rc) should go in their relevant thread here, rather than the Bug Reports section.
Post Reply
Alpvax
White ninja
White ninja
Posts: 9
Joined: 11 Apr 2017, 10:41
Distribution: Porteus v4 x64
Location: England

Porteus IV fstab generation

Post#1 by Alpvax » 12 Apr 2017, 13:20

I'm not sure why, because when I run the fstab function from linuxrc after the system has booted it generates correctly, but on boot up the file is generated with all the disk mount points listed under the "# Swap partitions:" heading instead of under "# Device partitions:".

User avatar
francois
Contributor
Contributor
Posts: 4945
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: Porteus v4 fstab generation

Post#2 by francois » 12 Apr 2017, 23:46

Please provide some outputs of your fstab.
Thanks.
Voltaire: Le mieux est l'ennemi du bien.

Alpvax
White ninja
White ninja
Posts: 9
Joined: 11 Apr 2017, 10:41
Distribution: Porteus v4 x64
Location: England

Re: Porteus v4 fstab generation

Post#3 by Alpvax » 18 Apr 2017, 12:27

Apologies for the delay, I have been away.

Upon boot, my fstab is generated as this (with cheatcode noauto):
EDIT: To confirm, leaving out the noauto cheatcode does not make a difference.

Code: Select all

# Do not edit this file as fstab is recreated automatically during every boot.
# Please use /etc/rc.d/rc.local or sysvinit scripts if you want to mount/unmount
# drive, filesystem or network share.

# System mounts:
aufs / aufs defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
devtmpfs /dev devtmpfs defaults 0 0
devpts /dev/pts devpts rw,mode=0620,gid=5 0 0

# Device partitions:

# Swap partitions:
/dev/sda4 /mnt/sda4 ntfs-3g comment=x-gvfs-show,user,noatime,nodiratime,suid,dev,exec,async 0 0
/dev/sda1 /mnt/sda1 ntfs-3g comment=x-gvfs-show,user,noatime,nodiratime,suid,dev,exec,async 0 0
/dev/sda2 /mnt/sda2 ntfs-3g comment=x-gvfs-show,user,noatime,nodiratime,suid,dev,exec,async 0 0
/dev/sda3 /mnt/sda3 ntfs-3g comment=x-gvfs-show,user,noatime,nodiratime,suid,dev,exec,async 0 0
/dev/sdc1 /mnt/sdc1 ext4 comment=x-gvfs-show,comment=x-gvfs-icon=drive-removable-media,user,noatime,nodiratime,suid,dev,exec,async 0 0

# Hotplugged devices:
And if I re-run the relevant part of the linxrc script after booting, it becomes this:

Code: Select all

# Do not edit this file as fstab is recreated automatically during every boot.
# Please use /etc/rc.d/rc.local or sysvinit scripts if you want to mount/unmount
# drive, filesystem or network share.

# System mounts:
aufs / aufs defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
devtmpfs /dev devtmpfs defaults 0 0
devpts /dev/pts devpts rw,mode=0620,gid=5 0 0

# Device partitions:
/dev/sda4 /mnt/sda4 ntfs-3g comment=x-gvfs-show,user,noatime,nodiratime,suid,dev,exec,async 0 0
/dev/sda1 /mnt/sda1 ntfs-3g comment=x-gvfs-show,user,noatime,nodiratime,suid,dev,exec,async 0 0
/dev/sda2 /mnt/sda2 ntfs-3g comment=x-gvfs-show,user,noatime,nodiratime,suid,dev,exec,async 0 0
/dev/sda3 /mnt/sda3 ntfs-3g comment=x-gvfs-show,user,noatime,nodiratime,suid,dev,exec,async 0 0
/dev/sdc1 /mnt/sdc1 ext4 comment=x-gvfs-show,comment=x-gvfs-icon=drive-removable-media,user,noatime,nodiratime,suid,dev,exec,async 0 0

# Swap partitions:

# Hotplugged devices:
Which is what I presume it should look like.

User avatar
Blaze
Moderator
Moderator
Posts: 1388
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus 3.2 Cinnamon x86_64
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Re: Porteus v4 fstab generation

Post#4 by Blaze » 03 May 2017, 18:16

The same with RAID1. All in # Swap partitions section
Image

Code: Select all

# Do not edit this file as fstab is recreated automatically during every boot.
# Please use /etc/rc.d/rc.local or sysvinit scripts if you want to mount/unmount
# drive, filesystem or network share.
 
# System mounts:
aufs / aufs defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
devtmpfs /dev devtmpfs defaults 0 0
devpts /dev/pts devpts rw,mode=0620,gid=5 0 0
 
# Device partitions:
 
# Swap partitions:
/dev/sr0 /mnt/sr0 iso9660 comment=x-gvfs-show,comment=x-gvfs-icon=media-optical,user,noatime,nodiratime,suid,dev,exec,async 0 0
/dev/sdb1 /mnt/sdb1 linux_raid_member comment=x-gvfs-show,user,noatime,nodiratime,suid,dev,exec,async 0 0
/dev/sda1 /mnt/sda1 linux_raid_member comment=x-gvfs-show,user,noatime,nodiratime,suid,dev,exec,async 0 0
/dev/md0p1 /mnt/md0p1 ext4 comment=x-gvfs-show,user,noatime,nodiratime,suid,dev,exec,async 0 0
 
# RAID arrays:
/dev/md0 /mnt/md0  noatime,nodiratime,suid,dev,exec,async  0 0
/dev/md0p1 /mnt/md0p1 ext4 noatime,nodiratime,suid,dev,exec,async  0 0
 
# LVM volumes:
 
# Hotplugged devices
After run gparted, fstab generated as

Code: Select all

# Do not edit this file as fstab is recreated automatically during every boot.
# Please use /etc/rc.d/rc.local or sysvinit scripts if you want to mount/unmount
# drive, filesystem or network share.
 
# System mounts:
aufs / aufs defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
devtmpfs /dev devtmpfs defaults 0 0
devpts /dev/pts devpts rw,mode=0620,gid=5 0 0
 
# Device partitions:
/dev/sr0 /mnt/sr0 iso9660 comment=x-gvfs-show,comment=x-gvfs-icon=media-optical,user,noatime,nodiratime,suid,dev,exec,async 0 0
 
# Swap partitions:
 
# RAID arrays:
/dev/md0 /mnt/md0  noatime,nodiratime,suid,dev,exec,async  0 0
/dev/md0p1 /mnt/md0p1 ext4 comment=x-gvfs-show,user,noatime,nodiratime,suid,dev,exec,async 0 0
 
# LVM volumes:
 
# Hotplugged devices:
/dev/sda1 /mnt/sda1 linux_raid_member comment=x-gvfs-show,user,noatime,nodiratime,suid,dev,exec,async 0 0
/dev/sdb1 /mnt/sdb1 linux_raid_member comment=x-gvfs-show,user,noatime,nodiratime,suid,dev,exec,async 0 0
Plus, I think, that these lines

Code: Select all

/dev/sda1 /mnt/sda1 linux_raid_member comment=x-gvfs-show,user,noatime,nodiratime,suid,dev,exec,async 0 0
/dev/sdb1 /mnt/sdb1 linux_raid_member comment=x-gvfs-show,user,noatime,nodiratime,suid,dev,exec,async 0 0
are must be removed from fstab, because /dev/sda1 and /dev/sdb1 in RAID1 of /dev/md0 (mount point at /mnt/md0p1)
Image
Could not connect to "sda1"
mount: unknown filesystem type 'linux_raid_member'
Hehe, the same at ROSA Linux R9 - all 'linux_raid_member' volumes is show at the left side bar
Image
I agree with RAID1 volume on 5Gb at the left side bar, but not with show 'linux_raid_member' /mnt/sda1 and /mnt/sdb1 volumes of the mirror RAID1
Probably, I'm niggle, since they can be hidden in KDE5 of ROSA Linux R9 (don't know about others DE)
I can't to show /etc/fstab of ROSA Linux R9, because I use Live system. I found only

Code: Select all

localhost etc # cat /etc/fstab
none /proc proc defaults 0 0
localhost etc #
Linux porteus 4.12.7-porteus #1 SMP PREEMPT Sun Aug 13 17:38:30 x86_64 Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Tobago PRO [Radeon R7 360 / R9 360 OEM] (rev 81) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

Post Reply