Installing a new hard drive
Eamonn Sullivan
eamonn.sullivan at gmail.com
Sat Dec 18 18:29:54 UTC 2004
Thanks everyone for the suggestions. I'm almost there, but have run
into a few problems.
I ended up using qtparted to create the partition and format it with
ext3. The result is that this works fine:
mount /dev/sda1 /home/backup
However, it doesn't work in fstab. The message I get at boot is
mount special device /dev/sda1 doesn't exist
Once the system is booted, I can mount it manually without problems.
I'm assuming that's because the device node hasn't been created yet?
My fstab looks like this (hda* is an IDE drive -- the original one):
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hda1 / ext3 defaults,errors=remount-ro 0 1
/dev/hda2 /home ext3 defaults 0 2
/dev/hda3 none swap sw 0 0
/dev/hdc /media/cdrom0 udf,iso9660 ro,user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
/dev/sda1 /home/backup ext3 defaults 0 0
If I follow the directions on the fstab man page, I should make that
last column (pass) a 2, but doing that just causes the boot process to
halt, saying an ext2 (?) file system can't be found on the device and
the filesystem can't be repaired... I suspect that has to do with the
previous message (that the device can't be found). I have to type
Ctrl-D to continue the booting process. After which, I can mount
manually.
Any ideas? I may have opened myself a can of worms by trying to mix
ide and serial ATA...
More information about the ubuntu-users
mailing list