Page 1 of 1

Porteus IV fstab generation

Posted: 12 Apr 2017, 13:20
by Alpvax
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:".

Re: Porteus v4 fstab generation

Posted: 12 Apr 2017, 23:46
by francois
Please provide some outputs of your fstab.
Thanks.

Re: Porteus v4 fstab generation

Posted: 18 Apr 2017, 12:27
by Alpvax
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.

Re: Porteus v4 fstab generation

Posted: 03 May 2017, 18:16
by Blaze
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 #