-
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

GIGABYTE A520M DS3H AC AMD AM4 Motherboard mATX
$59.99

ASUS PRIME Z890-P WIFI Z890 LGA 1851 ATX motherboard, Intel® Core™ Ultra Series
$235.99

Corsair RMe RM850e 850W 80 Plus Gold Fully Modular Low Noise Certified Refurb
$58.99

Gigabyte GA-B85M-D3H Motherboard
$54.99

Asus Prime B660M-A AC D4 Motherboard Intel LGA 1700 14th 13th 12th Gen DDR4
$79.99

GIGABYTE B365 HD3 LGA1151 Intel 9th Gen motherboard
$59.99

Intel H81 Motherboard M.2 NVMe LGA 1150 mATX w/ IO Shield (Random Slot Color)
$29.90

MSI B550M PRO-VDH Micro-ATX Motherboard - AMD AM4, Ryzen 5000/4000/3000 Ready, P
$71.49

GIGABYTE - A620M S2H AM5 DDR5 M-ATX Motherboard
$65.00

HP Z440 WorkStation LGA 2011-3 DDR4 Desktop Motherboard 710324-002
$39.99