changes to fstab

Karl Larsen k5di at zianet.com
Fri Feb 1 19:37:23 UTC 2008


    Without knowing exactly what I was doing I simplified the /etc/fstab 
file to this:

karl at karl-desktop:/etc$ cat fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
# /dev/hda8
UUID=a9c1cb61-ddfd-44f6-88b0-6dc976daf9ca /               ext3    
defaults,errors=remount-ro 0       1
# /dev/hda1
UUID=7915f630-518c-425b-9fea-0ef07e50d0f9 none            swap    
sw              0       0
# /dev/sda2
UUID=7d8c37ed-b2ec-4008-a137-f24c6659c5ab none            swap    
sw              0       0
# /dev/hdb        /media/cdrom0   udf,iso9660 user,noauto,exec 0       0
karl at karl-desktop:/etc$

As you see all the things having to do with other partitions is gone 
from the file. But I had a problem. When I tried to reboot it would go 
part way down and then hang. I tried next opening a terminal and using 
sudo reboot and that worked fine. But as Ubuntu went down it complained 
about things.

    So I looked and found there was still a lot of files off of /media. 
They were all partition names so I removed them all. Tried a normal 
reboot and it did the right thing now.

    Does anyone know what the last line in the file does? It seems to 
connect /dev/hdb to cdrom0 and I have no idea why.


Karl

-- 

	Karl F. Larsen, AKA K5DI
	Linux User
	#450462   http://counter.li.org.
   PGP 4208 4D6E 595F 22B9 FF1C  ECB6 4A3C 2C54 FE23 53A7





More information about the ubuntu-users mailing list