Other Help Topics :: ReMastering HOWTO for DSL



shui,

Are you sure you want to "mke2fs /dev/hda3"?  Because from this error message I can guess that either you are currently using the /dev/hda3 and may have some important stuff inside it (currently in use), or your computer does not actually have a /dev/hda3 (zero bytes).  Please remember that the device designations used in meo's remastering procedures are just examples.

If you want to know what devices you have, open an XTerminal and type "cat /etc/fstab".  Pick a device from this list.

If you want to know what devices are currently in use (mounted), type "mount".

If you want to browse the contents of the device, make sure it is currently in use (mounted).  If not mounted, type "mount /dev/hda3" (example only, assuming you have this in /etc/fstab) to mount /dev/hda3.  Now type "mount" again to see where it is mounted at (for example, /mnt/hda3).  Then either use emelfm or type "ls /mnt/hda3" to see its contents.

If you want to make the device "not in use", type "umount /dev/hda3" (again, example only).  But before this, make sure that you have no programs that are using any files on that device, and that your current working directory is not inside that device.

Quote (meo @ May 22 2005,12:58)
Format the partition with the ext2 filesystem

Ok, when I use cat /ext/fstab, I don't see anything with ext2. I see hdc1 and hdc2, but they're both ext3. What should I use?
The ext2 and ext3 filesystems may be different, but this should not matter for what you are trying to do.  This means you can skip the "mke2fs" step and use either hdc1 or hdc2.

If you REALLY want to do the "mke2fs" step, be sure that you do not need the things inside the partition you will do this to.  The contents of that partition will be gone forever.  On the other hand, many processes benefit from a freshly-formatted partition because the files are not fragmented, allowing for a faster remaster.

When Meo (and the online documentation) says:

#cp -Rp /cdrom/boot /mnt/hda3/newcd
#cp -Rp /cdrom/lost+found /mnt/hda3/newcd
#cp -Rp /cdrom/index.html /mnt/hda3/newcd

I assume he means:

# # first mount the cd
# then
#cp -Rp /mnt/auto/cdrom/boot /mnt/hda3/newcd
#cp -Rp /mnt/auto/cdrom/lost+found /mnt/hda3/newcd
#cp -Rp /mnt/auto/cdrom/index.html /mnt/hda3/newcd

Or -  am I..er ... missing something in this picture?

If your running the livecd, it's already mounted and ready to copy.  :)

Chris

Next Page...
original here.