(SOLVED) segmentaion fault while mounting

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
hha4491

(SOLVED) segmentaion fault while mounting

Post by hha4491 »

During PC start, I get
...
* Mounting local filesystems...
Segmentation fault

and / only / gets mounted

A little research showed me it happens in /etc/init.d/mountall.sh, especially this line:
mount -a -t nonfs,nfs4,smbfs,cifs,ncp,ncpfs,coda,ocfs2,gfs,gfs2 \
-O no_netdev
Can it be that something went wrong during one of the latest updates?
When I run that command from a terinal I also get the Segmentation fault.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
xenopeek
Level 25
Level 25
Posts: 29615
Joined: Wed Jul 06, 2011 3:58 am

Re: segmentaion fault while mounting

Post by xenopeek »

What is in your /etc/fstab file?
Image
hha4491

Re: segmentaion fault while mounting

Post by hha4491 »

# /etc/fstab: static file system information.
#
# Use 'vol_id --uuid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# / was on /dev/sda1 during installation
#UUID=39dce7bc-28c6-4d48-a3e1-b2d48712856e / ext3 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=f5355ad1-6de9-497b-a8d4-e2abe7336d4d none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0
#/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
proc /proc proc nodev,noexec,nosuid 0 0
# /dev/sda1 /windows/C ntfs rw,errors=remount-ro 0 0
UUID=F6E0FE19E0FDE033 /windows/C ntfs rw,errors=remount-ro 0 0
# /dev/sda2 / ext4 rw,errors=remount-ro 0 1
UUID=27811ab0-2876-4a90-bb2e-0296f6be6270 / ext4 rw,errors=remount-ro 0 1
# /dev/sda3 /kubuntu ext3 rw,errors=remount-ro 0 2
UUID=9d7638bb-f278-45ce-bc17-42da4d628e64 /kubuntu ext3 rw,errors=remount-ro 0 2
# /dev/sda5 /windows/D vfat /utf8,umask=007,uid=1000,gid=46,auto,rw,nouser 0 0
UUID=4615-1537 /windows/D vfat utf8,umask=007,uid=1000,gid=46,auto,rw,nouser 0 0
# /dev/sda6 /home ext3 rw,errors=remount-ro 0 2
UUID=13db3590-61f5-4d43-a08a-3ebf86a5b162 /home ext3 rw,errors=remount-ro 0 2
# /dev/sda7 /kubuntu/home ext3 rw,errors=remount-ro 0 2
UUID=561cd39e-5af9-48ff-b5a6-f79ae7f59867 /kubuntu/home ext3 rw,errors=remount-ro 0 2
# /dev/sda9 /windows/E vfat utf8,umask=007,uid=1000,gid=46,auto,rw,nouser 0 0
UUID=47BC-699D /windows/E vfat utf8,umask=007,uid=1000,gid=46,auto,rw,nouser 0 0
# /dev/sda11
UUID=4DB3-F499 /windows/G vfat
utf8,umask=007,uid=1000,gid=46,auto,rw,nouser 0 0
# /dev/sda10
UUID=4CC1-C99F /windows/L vfat utf8,umask=007,uid=1000,gid=46,auto,rw,nouser 0 0
# /dev/sda12 /windows/H vfat utf8,umask=007,uid=1000,gid=46,auto,rw,nouser 0 0
UUID=4E42-652D /windows/H vfat utf8,umask=007,uid=1000,gid=46,auto,rw,nouser 0 0
User avatar
xenopeek
Level 25
Level 25
Posts: 29615
Joined: Wed Jul 06, 2011 3:58 am

Re: segmentaion fault while mounting

Post by xenopeek »

Well, you're not making this easy :D You either know what you are doing, or that is a pretty messed up fstab file.

- Where is your root partition for Linux Mint installed? Which of the two red marked parts. I'm assuming /dev/sda2, as in purple the windows C: drive seems to be at /dev/sda1.
- Where is your swap partition? Marked in blue it is conflicting with windows D: drive for location.

I suggest you start by commenting out (putting a # in front of) the lines for windows partition mounting. See if that clears the problem. So just keeping the mount for /, /home, swap, /proc and disabling all others (also /dev/scd0). See if this clears the error.

And do you have any connections to Windows fileshares (Samba) or other network filesystems? Suggest you disable those also.

If it then works okay again, start re-enabling one by one to find the culprit.

# / was on /dev/sda1 during installation
#UUID=39dce7bc-28c6-4d48-a3e1-b2d48712856e / ext3 errors=remount-ro 0 1

# swap was on /dev/sda5 during installation
UUID=f5355ad1-6de9-497b-a8d4-e2abe7336d4d none swap sw 0 0

/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0
#/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
proc /proc proc nodev,noexec,nosuid 0 0
# /dev/sda1 /windows/C ntfs rw,errors=remount-ro 0 0
UUID=F6E0FE19E0FDE033 /windows/C ntfs rw,errors=remount-ro 0 0

# /dev/sda2 / ext4 rw,errors=remount-ro 0 1
UUID=27811ab0-2876-4a90-bb2e-0296f6be6270 / ext4 rw,errors=remount-ro 0 1

# /dev/sda3 /kubuntu ext3 rw,errors=remount-ro 0 2
UUID=9d7638bb-f278-45ce-bc17-42da4d628e64 /kubuntu ext3 rw,errors=remount-ro 0 2
# /dev/sda5 /windows/D vfat /utf8,umask=007,uid=1000,gid=46,auto,rw,nouser 0 0
UUID=4615-1537 /windows/D vfat utf8,umask=007,uid=1000,gid=46,auto,rw,nouser 0 0

# /dev/sda6 /home ext3 rw,errors=remount-ro 0 2
UUID=13db3590-61f5-4d43-a08a-3ebf86a5b162 /home ext3 rw,errors=remount-ro 0 2
# /dev/sda7 /kubuntu/home ext3 rw,errors=remount-ro 0 2
UUID=561cd39e-5af9-48ff-b5a6-f79ae7f59867 /kubuntu/home ext3 rw,errors=remount-ro 0 2
# /dev/sda9 /windows/E vfat utf8,umask=007,uid=1000,gid=46,auto,rw,nouser 0 0
UUID=47BC-699D /windows/E vfat utf8,umask=007,uid=1000,gid=46,auto,rw,nouser 0 0
# /dev/sda11
UUID=4DB3-F499 /windows/G vfat utf8,umask=007,uid=1000,gid=46,auto,rw,nouser 0 0
# /dev/sda10
UUID=4CC1-C99F /windows/L vfat utf8,umask=007,uid=1000,gid=46,auto,rw,nouser 0 0
# /dev/sda12 /windows/H vfat utf8,umask=007,uid=1000,gid=46,auto,rw,nouser 0 0
UUID=4E42-652D /windows/H vfat utf8,umask=007,uid=1000,gid=46,auto,rw,nouser 0 0
Image
hha4491

Re: segmentaion fault while mounting

Post by hha4491 »

The problem was the splitted line for /dev/sda11. Must have happened while editing. Sorry, my fault. But thanks for the hint to look into /et/fstab.
# /dev/sda11
UUID=4DB3-F499 /windows/G vfat
utf8,umask=007,uid=1000,gid=46,auto,rw,nouser 0 0
User avatar
xenopeek
Level 25
Level 25
Posts: 29615
Joined: Wed Jul 06, 2011 3:58 am

Re: segmentaion fault while mounting

Post by xenopeek »

Ouch... I had seen that, but has assumed it was copy & paste error :? Glad you got it resolved :wink:
Image
Locked

Return to “Storage”