PDA

View Full Version : strange /etc/fstab after hdd install



todsr1
06-12-2003, 10:45 AM
Having (I think) successfully done a hdd install of knoppix V3.2-20-05-2003 I have a system that's up and running properly again. All I've done extra so far is run pppconfig then apt-get to pull in a few extra apps. I was having a poke around and was a bit puzzled by my /etc/fstab file.
During hdd install the three existing partitions were found; hda1 bootable ext3 ~ 1GB, hda2 swap ~ 1GB and hda3 ext3 ~ 8GB. I choose to leave as is, and in answer the the q. which one to set as / I went for hda3. Fine everything works, but (the important parts of) /etc/fstab looks like

/dev/hda3 / ext2 defaults,errors=remount-ro 0 1
/dev/hda2 none swap sw 0 0
proc /proc proc defaults 0 0
/dev/fd0 /floppy vfat defaults,user,noauto,showexec,umask=022 0 0
/dev/cdrom /cdrom iso9660 defaults,ro,user,noexec,noauto 0 0

What happened to (the only bootable partition) hda1? If I don't need it, I'm quite happy living without it though from a purely athestic point it'd be nice if hda3 could be renamed hda1 then... But where's the machine booting from and how do I recover the extra space available on the hdd that doesn't appear to be in any partition. Lastly, what should I do to make /cdrom (a cd-rw) writeable and appear as an icon on my desktop.

Many thanks!

Stephen
06-12-2003, 05:27 PM
Having (I think) successfully done a hdd install of knoppix V3.2-20-05-2003 I have a system that's up and running properly again. All I've done extra so far is run pppconfig then apt-get to pull in a few extra apps. I was having a poke around and was a bit puzzled by my /etc/fstab file.
During hdd install the three existing partitions were found; hda1 bootable ext3 ~ 1GB, hda2 swap ~ 1GB and hda3 ext3 ~ 8GB. I choose to leave as is, and in answer the the q. which one to set as / I went for hda3. Fine everything works, but (the important parts of) /etc/fstab looks like

/dev/hda3 / ext2 defaults,errors=remount-ro 0 1
/dev/hda2 none swap sw 0 0
proc /proc proc defaults 0 0
/dev/fd0 /floppy vfat defaults,user,noauto,showexec,umask=022 0 0
/dev/cdrom /cdrom iso9660 defaults,ro,user,noexec,noauto 0 0

What happened to (the only bootable partition) hda1? If I don't need it, I'm quite happy living without it though from a purely athestic point it'd be nice if hda3 could be renamed hda1 then... But where's the machine booting from and how do I recover the extra space available on the hdd that doesn't appear to be in any partition.

The partition is obvisously still there and is commented out in the fstab under the section Partitions found by knoppix remove the # at the start of the /dev/hda1 line and you will be able to use it. If you want hda3 to appear as hda1 you will have to re-partition the drive.


Lastly, what should I do to make /cdrom (a cd-rw) writeable and appear as an icon on my desktop.

Many thanks!

It already is writable to check you should use cdrecord -scanbus and it will show up in the output as device 0,0,0. You may want to change the entry in the fstab from /dev/cdrom to /dev/scd0 if the burning programs have trouble recognizing the drive. Then right click on the desktop and choose create new -> cdrom device and select either /dev/cdrom or /dev/scd0 if you changed it as the device and you will have access to it from the icon created.