Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi guys, i installed the latest kubuntu recently on one of my partitions to see how i'd like it. I forgot to set mount points for my other partitions during the installation so i edited the fstab once the install was complete. Once i edited and rebooted, it fails, so obviously i've made an error with the fstab, but what; here is my fstab.
Code:
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# / was on /dev/sda7 during installation
UUID=2bccd1f0-6811-41af-9f27-fca0ee01b3bf / ext4 errors=remoun$
# /media/sda3 was on /dev/sda3 during installation
UUID=124241aa-ae29-440d-9918-65fc504a0420 /media/sda3 ext4 defaults 0 2
# /home/klaye/data was on /dev/sda5 during installation
UUID=817ab057-ba80-467b-aefe-d66fd32911cb /home/klaye/data ext4 defaults 0 2
# /media/grub was on /dev/sda1 during installation
UUID=d552e4f8-efc0-44db-ba25-4fc387587e05 /media/grub ext3 defaults 0 2
# /media/sda4 was on /dev/sda4 during installation
#UUID=462e9b9b-815f-47da-8fa6-988842c54d99 /media/sda4 ext4 defaults 0 2
# swap was on /dev/sda6 during installation
UUID=42a9b895-2bf5-4286-ab96-9243a11e02cd none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0
The entry for your root partition looks garbled.
From the mount man page:
errors={continue|remount-ro|panic}
It looks like it should be remount-ro.
Create system directories in the root directories and change the mount points in /etc/fstab to use them. Only removable media should be automounted under /media. E.G. /media/grub. The /media/sda3 and /media/sda4 directories should be given more descriptive names and mounted were they would best be used, and who accesses them.
For example, if /dev/sda3 contains videos, that are private and owned by you, /home/klaye/Videos/ would be a logical place to mount it.
Thanks jschiwal, i haven't tried your solution yet because my computer is almost flat, and i only have enough time to quickly check the internet, but tonight once my computer's charged i will give it a shot; you're probably right since all i did was copy one of my other fstabs and edit a couple of things and i probably didn't copy it all by the looks of things, now you've pointed that out. Thanks for the tip about /media, but i do that for a reason. I like to have a 'computer' icon on my desktop, like on gnome2, but kde doesn't have this feature, so i mount all my partitions in media, and make a symlink of media onto my desktop with a custom icon and named Computer.
I'd reckon that "$" is line continuation indicator - nano and the like.
Personally I'd restore from the backup you no doubt have, but a simple fstab of just the root should get you up. Especially in single user/recovery/whatever mode.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.