repartitioning hard drive
This is a variation on the theme of moving parts of the directory tree to
another hard drive that was on this list a while ago.
I have a 800M hard drive that is currectly split roughly in half between a DOS
partition (411M) and a Debian + swap set of petitions. The Debian partition is
almost full and the DOS one is half empty (reflecting the amount of time I
find myself spending in the respective OS's (and if I could learn (La)TeX I
would use DOS even less) then it would be a matter of teaching my daughters).
I boot using loadlin from DOS.
So what I want to do is take the DOS partition /dev/hda1 and split it in half,
creating a new Linux partition (copying and mounting as /home).
As I contemplate the move I think it could get very sticky. As I see it this
is what might happen...
Current
Device Boot Begin Start End Blocks Id System
/dev/hda1 * 1 1 413 416272+ 6 DOS 16-bit >=32M
/dev/hda2 414 414 799 389088 83 Linux native
/dev/hda3 800 800 825 26208 82 Linux swap
Projected
Device Boot Begin Start End Blocks Id System
/dev/hda1 * 1 1 200 ....... 6 DOS 16-bit >=32M
/dev/hda2 201 201 413 ....... 83 Linux native
/dev/hda3 414 414 799 389088 83 Linux native
/dev/hda4 800 800 825 26208 82 Linux swap
First, am I correctly understanding what will happen when I fdisk and create
the new partition between 201 and 413?
If so, then must I unmount the old /dev/hda2 and /dev/hda3, perform the fdisk
and then mount them again?
And if I do that, do I need to mount a floppy with the kernel on it and
possibly other files (umount, mount, fdisk, mkfs maybe?) for the transition?
After I get past that part, I think I know what to do (gleaned from previous
maessages).
Thanks for any help I can get!
--
The AtticKeeper: David Morris mailto:bweaver@worf.netins.net
---
Though no one can go back and make a brand new start,
anyone can start from now and make a brand new ending... -- Unknown
---
The Nerdnosh Attic: http://www.netins.net/showcase/nerdnosh
The Lectionary Page: http://www.netins.net/showcase/dmorris/
PGP Public Key available via Finger
---
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com
Reply to: