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.
Change "/boot/lost+found" to "/mnt/mountpoint1" and change "/home/lost+found" to "/mnt/mountpoint2".
Make the directories /mnt/mountpoint1 and /mnt/mountpoint2
That should fix it; mounting sda5 to /mnt/mountpoint1 and /dev/sda6 to /mnt/mountpoint2.
If it doesn't have a the lines for /dev/sda5 and /dev/sda6; you can try adding them. Just make sure you have the right filesystem types for them in the 3rd column.
Why are those two mounted at "lost+found"? Is that something that Ubuntu set up?
Regardless, you can rename any directory** using mv. e.g.
mv /boot/lost+found /boot/newname
**Note that a partition can be mounted to any directory (which is also called a "mountpoint".) To be precise, you rename the mountpoint, not the partition.
fstab file on my machine is given below,but there is no option like
/boot/lost+found,then what to do please help
/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=07089549-feea-46e9-b7eb-6e5ee7c68e0d / ext3 relatime,errors=remount-ro 0 1
# /boot was on /dev/sda6 during installation
UUID=a8fb0d64-6d87-4335-9e42-025d06d9c562 /boot ext3 relatime 0 2
# /home was on /dev/sda5 during installation
UUID=f79bea7d-099c-4615-9a23-cdc51b7b6d83 /home ext3 relatime 0 2
# swap was on /dev/sda7 during installation
UUID=56d1eefd-3268-44c1-8722-8f649b5710c7 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
Interesting notes about how certain directories were on sda5, sda6, and sda7 during installation. Does that make sense to you? Normally, those extra partitions would not even be created.
If there is no entry in fstab, then partitions will not be automatically mounted unless there are specific commands in one of the startup scripts. First--with the machine running--isue the "mount" command to confirm that those partitions are being mounted. If they are, then you need to look in your startup scripts to see where the command is.
a) md5sum check your live CD if it is healthy; if it is good, then--
b) Run installation again. Most installer CD's are well done before they are offered to public. It cannot be the installer. Run install again for you may have done something somewhere. If possible repartition you drive if there is no risk of losing important data-files or documents.
I am sure both the directory lost+found is mounted in /boot and /home after boot the machine automatically.I just change the permission of lost+found to 777 ,and it allow me create files,directories etc. I try to unmount it through the command sudo umount -l /dev/sda5 ,Then after it does not allow me open lost+found directory,but the directory was there(/home) visible
I have tested in different machine also but same thing again.At the time of installation I choose manual partition
.There is option for to choose
1)type of partition like ext3,ext4,swap...etc.
2)mount from(/,/home,/boot)..
3) another two radio option begin/end(I do not know about this,and by default it is beginning..)
there was a error message If I choose same mount option for two partition.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.