I only needed temproary access to the disk drive on a Linux system so that I could format the disk as a Linux partition.
The steps were:
- Plug the USB disk drive (a Western Digital My Book Office Edition External Hard Drives 500 GB, USB 2.0, Remote Access WDH1B5000N)
- As root (su command)
- cd /mnt
- mkdir usb_disk
- mount /dev/sda1 usb_disk
- /sbin/fdisk /dev/sda
- p (to show and verify the partions)
- Changed the required partition to have an id of 83 - Linux partition
- w (to write table to disk and exit)
- umount /dev/sda1
- /sbin/mkfs.ext2 /dev/sda1 (being a 500 GBytes disk, this took around 3 hours)
- mount /dev/sda1 usb_disk
- Copy the files to the USB disk
It really was as easy as that. Considering that the version of Linux (Red Hat Linux release 7.2 Enigma ) was over 7 years old and it was running on a Pentium processor (not even a Pentium 2), that is very impressive!
No comments:
Post a Comment