Ubuntu 11.04 doesen't boot when added ntfs partitions to /etc/fstab
UbuntuThis forum is for the discussion of Ubuntu Linux.
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.
Ubuntu 11.04 doesen't boot when added ntfs partitions to /etc/fstab
Hi.
I'm interested in learning more about Linux and i tried another distribution - it's Ubuntu 11.04.
I wont leave Slackware completly (because i like it), i've only wanted to learn something new. I had few problems with installation (Grub 2 loader with 7 hard disk in my system) and everythings was fixed, worked fine till editing /etc/fstab.
I wanted to edit /etc/fstab, put my hard disk drive in it in order to automount during boot but i just can't do it. As soon as i add ntfs partitions, or swap, Ubuntu won't load anymore.
Can you help me? It's my /etc/fstab:
Code:
firekage@ubuang:~$ cat /etc/fstab
# /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
# / was on /dev/sda1 during installation
UUID=6c5d66f7-0cf3-4360-909b-80fc4003bdc1 / ext4 errors=remount-ro 0 1
#/dev/sda2 /mnt/TERESA ntfs defaults 0 0
#/dev/sdb5 /mnt/RAZIEL ntfs defaults 0 0
#/dev/sdd1 /mnt/OBORO ntfs defaults 0 0
#/dev/sdd2 /mnt/TANABE ntfs defaults 0 0
#/dev/sde1 /mnt/SAYA ntfs defaults 0 0
#/dev/sde2 /mnt/MOTOKO ntfs defaults 0 0
#/dev/sdf2 /mnt/SAKI ntfs defaults 0 0
#/dev/sdf5 /mnt/REKI ntfs defaults 0 0
#/dev/sdg2 /mnt/CLARE ntfs defaults 0 0
#UUID=ff6f1842-6ab0-414a-9861-7a9f11d08f07 /mnt/1GB ext4 defaults 0 0
#UUID=2019abb0-fc0f-4b67-ab2b-a107e0a8e9da /mnt/32GB ext4 defaults 0 0
#UUID=839bffb9-8438-4d76-93ff-d1b3b26a3b33 /mnt/19GB ext4 defaults 0 0
#UUID=3bb1d226-79b0-4aaa-a758-7b6b84d13ac8 /mnt/9.4GB ext4 defaults 0 0
#UUID=f959dd7b-b7c6-44af-8390-0876aeb235d2 /mnt/421GB ntfs defaults 0 0
#UUID=203676e0-ad97-428c-8fd5-417eddf2bffd /mnt/20GB ext4 defaults 0 0
#UUID=982aba50-098e-4863-8781-f5f387e57f8a none swap sw 0 0
#UUID=76becbcc-df05-4861-855a-7986d68b48fa none swap sw 0 0
As You can see, everything has # mark before uuid and devices because only when it's disabled by commenting it, Ubuntu boots, when i uncomment it - it won't load.
When Ubuntu loads, i see only blinking cursor, i can press alt+x, than i see something like listing dmesg, and there is something like: ntfs bad parameter and i think that there is also something like "ntfs not valid". I don't understand - when it's not in /etc/fstab Ubuntu boots, i can enter this hard disk from Nautilus :| Help :|
Some of them are Labels, but some of them must be UUID because my disk are from three comapnies and they have the same capacity. Those partitions with uuid are from linux, like / file system for ubuntu or swap.
I think that it's installed because from "places" - "my computer" (nautilus) i can enter my hard disk. I try with locale but i don't use english - i use polish locale.
BTW - in this example above, 421GB is not ntfs, i made a mistake - it's ext4 from Slackware and i cant mount it also.
But with new boot there were changed places so /mnt/TERESA and so on weren't /dev/sda2 but for an example /dev/sda4. I replaced device names with UUID and everything booted properly:
I fixed it by myself but it's strange. I know what was wrong and i'm amazed - during boot all of the drive letters were changing. I listed fstab:
But with new boot there were changed places so /mnt/TERESA and so on weren't /dev/sda2 but for an example /dev/sda4. I replaced device names with UUID and everything booted properly:
I've read before that one of the reasons for implementing UUID was to aid in more complex partition setups. I don't know exactly how "complex" your setup is, but you definitely have quite a few partitions. I wonder if the system simply gets confused when it gets to 30 or so partitions? That seems odd and unrealistic, but I'm curious.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.