Ubuntu

USB-installation generates wrong fstab

Reported by Joris Spekreijse on 2011-04-22
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: util-linux

After an installation of Ubuntu Netbook Remix the fstab looks lik this.

# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
/dev/sdb1 / ext4 errors=remount-ro 0 1

When an USB device is plugged into the system it tries to mount it to root. That will never works.

Changing the line to

/dev/sdb1 / ext4 errors=remount-ro 0 1

will fix this problem.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: mount 2.17.2-0ubuntu1.10.10.2
ProcVersionSignature: Ubuntu 2.6.35-28.50-generic 2.6.35.11
Uname: Linux 2.6.35-28-generic i686
Architecture: i386
Date: Fri Apr 22 18:10:22 2011
InstallationMedia: Ubuntu-Netbook 10.10 "Maverick Meerkat" - Release i386 (20101007)
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: util-linux

patrik (patrikhan) wrote :

Same here. Installed ubuntu 11.04 (alternative ) from USB

After installation my fstab looked like this:

# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s 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 nodev,noexec,nosuid 0 0
/dev/sdb1 / ext4 errors=remount-ro 0 1
# swap was on /dev/sdb5 during installation
UUID=916ce134-935a-4c51-93cc-b7bb37c96cad none swap sw 0 0

Had to change 'sdb1 to sda1' (This also fix the 'automount ntfs drive problem' )

# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s 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 nodev,noexec,nosuid 0 0
/dev/sda1 / ext4 errors=remount-ro 0 1
# swap was on /dev/sdb5 during installation
UUID=916ce134-935a-4c51-93cc-b7bb37c96cad none swap sw 0 0

Phillip Susi (psusi) wrote :

10.10 is end of life and the fstab should now be using UUIDs. Have you had this happen on 12.04+?

affects: util-linux (Ubuntu) → ubiquity (Ubuntu)
Changed in ubiquity (Ubuntu):
status: New → Incomplete

Dear Phillip,

Sadly enough I can't give you an answer.
I don't know on wich of my three devices this problem occured.
My notebook and laptopr are still running Ubuntu. But they are upgraded without a fres installation.
My PC is now running openSUSE.

Seeing that the version is now EOL and this can not happen any more due change in technique, I would regard this report als closed.

Phillip Susi (psusi) wrote :

Well, if you see it again feel free to reopen.

Changed in ubiquity (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers