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.

Porteus IV fstab generation

Postby Alpvax » 12 Apr 2017, 14: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:".
Alpvax
White ninja
White ninja
 
Posts: 9
Joined: 11 Apr 2017, 11:41
Location: England
Distribution: Porteus v4 x64

Re: Porteus v4 fstab generation

Postby francois » 13 Apr 2017, 00:46

Please provide some outputs of your fstab.
Thanks.
Voltaire: Le mieux est l'ennemi du bien.
User avatar
francois
Contributor
Contributor
 
Posts: 4717
Joined: 28 Dec 2010, 15:25
Location: C'est l'autome, en forêt les arbres d'ici nous en mettent plein la vue: les rouges, jaunes ...
Distribution: kde xfce porteus manjaro kubun

Re: Porteus v4 fstab generation

Postby Alpvax » 18 Apr 2017, 13: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.
Alpvax
White ninja
White ninja
 
Posts: 9
Joined: 11 Apr 2017, 11:41
Location: England
Distribution: Porteus v4 x64

Re: Porteus v4 fstab generation

Postby Blaze » 03 May 2017, 19: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.11.2-porteus #1 SMP PREEMPT Sat May 20 19:06:02 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
User avatar
Blaze
Warlord
Warlord
 
Posts: 1169
Joined: 28 Dec 2010, 12:31
Location: ☭ Russian Federation, Lipetsk region, Dankov
Distribution: ⟰ Porteus 3.2 Cinnamon x86_64


Return to Development



Who is online

Users browsing this forum: No registered users and 1 guest