-
Fixing up /etc/fstab
Having messed up my Debian system I used the hdd-install on Knoppix 3.2 to reinstall. While everything works fine there are a few things I'm still trying to fix up.
The output of 'fdisk -l' reads
Disk /dev/hda: 30.0 GB, 30005821440 bytes
240 heads, 63 sectors/track, 3876 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 258 1950448+ 83 Linux
/dev/hda2 259 516 1950480 82 Linux swap
/dev/hda3 517 3876 25401600 83 Linux
and /etc/fstab reads
# /etc/fstab: filesystem table.
#
# filesystem mountpoint type options dump pass
/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
# partitions found by Knoppix
#/dev/hda1 /mnt/hda1 ext3 noauto,users,exec 0 0
#/dev/hda3 /mnt/hda3 ext3 noauto,users,exec 0 0
# Added by KNOPPIX
/dev/hda1 /mnt/hda1 ext3 noauto,users,exec 0 0
What I'm trying to change is....
(1) For /dev/fd0 I'm guessing it's as simple as changing 'vfat' to 'auto' to allow all floppy disks to be read.
(2) I'm trying to change /dev/hda3 from ext2 to ext3. Booting from the Knoppix CD I ran 'fsck -f /dev/hda3' which found 1.4% non-contiguous (whatever that's supposed to mean), then back on the hard drive I ran 'tune2fs -j -i 365 /dev/hda3', editted the top line of /etc/fstab to read '/dev/hda3 / ext3 defaults 0 0' before rebooting. All I get is the error 'EXT2-fs warning (device ide0(3,3)): ext2_read_super: mounting ext3 filesystem as ext2'. What's going wrong, how do I fix this?!
(3) /dev/hda1 is 1.9 G of wasted space. I'm not clear what having it flagged as being bootable by fdisk is all about, but it's not mounted at boot time and booting it, it appears to be my old root partition from my messed up Debian distribution. I'd like to blank it and put it to good use, perhaps by mounting root on it, if it's big enough, and changing /dev/hda3 to /home. Does this seem like a good idea, and how would I do it?
Many thanks for any help...
Similar Threads
-
By cheetahman in forum General Support
Replies: 19
Last Post: 03-21-2005, 11:58 AM
-
By Markus in forum Tips and Tricks
Replies: 0
Last Post: 11-07-2004, 10:36 AM
-
By popcorn in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 06-06-2004, 11:08 AM
-
By ChivalricRonin in forum General Support
Replies: 2
Last Post: 04-13-2004, 02:11 PM
-
By Fabianx in forum Tips and Tricks
Replies: 1
Last Post: 09-21-2003, 03:38 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
H261-Z61 2U 24SFF AMD Server 8x EPYC 7551 256-Cores 256GB RAM 8x25G NIC 2x2200W
$2612.18
HP ProLiant DL360 G9 Server | 2 x E5-2660V3 2.6Ghz | 64GB | 2 x 900GB SAS HDD
$339.00
Dell Poweredge R640 Server | 2x Gold 6140 | 512GB | H730P | 4x 2.4TB 10KRPM HDDs
$3995.00
Dell PowerEdge R7525 Server 24X2.5(8XNVME)+H745 2xEPYC 7302 CPU 128G RAM 2x2400W
$3350.00
DELL PowerEdge R730 Server 2x E5-2690v3 2.6GHz =24 Cores 32GB H730 4xRJ45
$274.00
Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD
$389.99
HP Proliant DL360 Gen9 28 Core SFF Server 2X E5-2680 V4 16GB RAM P440ar No HDD
$196.95
SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB RAM SYS-5018A-FTN4 1U Rackmount
$202.49
HP ProLiant DL360 Gen9 Server 2x E5-2699v3 2.3GHz =36 Cores 32GB P440AR 4xRJ45
$309.00
1U Server (6-8 VM's) Vsphere VPS Short Depth 20" XEON 3.5Ghz 32GB RAM X10SLM-F
$199.00