Porteus IV fstab generation
-
- White ninja
- Posts: 9
- Joined: 11 Apr 2017, 10:41
- Distribution: Porteus v4 x64
- Location: England
Porteus IV fstab generation
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:".
- francois
- Contributor
- Posts: 6435
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Re: Porteus v4 fstab generation
Please provide some outputs of your fstab.
Thanks.
Thanks.
Prendre son temps, profiter de celui qui passe.
-
- White ninja
- Posts: 9
- Joined: 11 Apr 2017, 10:41
- Distribution: Porteus v4 x64
- Location: England
Re: Porteus v4 fstab generation
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.
And if I re-run the relevant part of the linxrc script after booting, it becomes this:
Which is what I presume it should look like.
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:
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:
- Blaze
- DEV Team
- Posts: 3885
- Joined: 28 Dec 2010, 11:31
- Distribution: ⟰ Porteus current ☯ all DEs ☯
- Location: ☭ Russian Federation, Lipetsk region, Dankov
- Contact:
Re: Porteus v4 fstab generation
The same with RAID1. All in # Swap partitions section
After run gparted, fstab generated as
Plus, I think, that these lines
are must be removed from fstab, because /dev/sda1 and /dev/sdb1 in RAID1 of /dev/md0 (mount point at /mnt/md0p1)
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
# 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
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
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
Hehe, the same at ROSA Linux R9 - all 'linux_raid_member' volumes is show at the left side barCould not connect to "sda1"
mount: unknown filesystem type 'linux_raid_member'
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 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16