[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Help resizing partitions!!!
From: |
Per Blomqvist |
Subject: |
Re: Help resizing partitions!!! |
Date: |
Thu, 07 Nov 2002 17:38:23 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.8) Gecko/20020204 |
This is what I have done:
A. I copy the context of "/home" to the root with
name "/foo". I used "mc", and tested various way,
so that symlink worked etc.
B. Then I unmounted the disk that hold my "/home".
Run the "fsconf", that is a disk handling
configuration.( I first tried to browse the
/etc/rm init ect.. but failed ) "fsconf" did the
work of never mount original "/home" disk again.
I rebooted and tested.
C. I tested if it worked, with rebooting and
testing if everything worked at "/home".( it did )
D. I then run the cd-bootable Linux distro
"Knoppix", to run "parted". I didn't manage to
create a bootdisk with "parted" on, that I first
was interested in.
E. "parted" made the job for me. I erased my
"/home" and "swap" disk.(I had problem with the
erasing swap with 'knoppix', because knoppix seams
to use that swap??? but I solved it with passing
parameters to the kernel at bootup. )
F. I resized my root "/" disk to fill up the
erased area, and created a swap partition on a old
SCSI disk.
( thats all, and it's seams to work!!! )
I choose to make swap on my SCSI disk because it's
faster. And I hope that I will not get so many
"segment fault", while compiling the kernel in the
future.. etc..
Here is tha output of "df -h" and "fdisk -l" now:
Filsystem Storlek Anvnt Tillg Anv% Monterat på
/dev/hda7 3.8G 1.9G 1.7G 53% /
none 62M 0 61M 0% /dev/shm
/dev/hda1 7.9G 6.5G 1.3G 83% /mnt/win_c
/dev/sda1 3.8G 2.7G 1.0G 72% /mnt/win_c2
/dev/hda5 3.9G 2.4G 1.5G 60% /mnt/win_d
/dev/hda6 16G 16G 423M 98% /mnt/win_e
Disk /dev/sda: 255 huvuden, 63 sektorer, 527 cylindrar
Enheter = cylindrar av 16065 * 512 byte
Enhet Start Början Slut Block Id System
/dev/sda1 * 1 496 3984088+ b Win95 FAT32
/dev/sda2 497 527 249007+ 5 Utökad
/dev/sda5 497 527 248976 82 Linux växling
Disk /dev/hda: 255 huvuden, 63 sektorer, 4111 cylindrar
Enheter = cylindrar av 16065 * 512 byte
Enhet Start Början Slut Block Id System
/dev/hda1 * 1 1028 8257378+ c Win95 FAT32 (LBA)
/dev/hda2 1029 4111 24764197+ f Win95 Utökad (LBA)
/dev/hda5 1029 1538 4096543+ b Win95 FAT32
/dev/hda6 2049 4111 16571016 b Win95 FAT32
/dev/hda7 1539 2048 4096543+ 83 Linux
Posterna i partitionstabellen är inte i diskordning
( AND BEFOR IT LOCKS LIKE THIS: )
"df" returns:
"Filsystem Storlek Anvnt Tillg Anv% Monterat på
/dev/hda7 2.2G 1.9G 261M 88% /
none 62M 0 61M 0% /dev/shm
/dev/hda9 1.4G 170M 1.2G 12% /home
/dev/hda1 7.9G 5.9G 2.0G 74% /mnt/win_c
/dev/sda1 4.0G 3.4G 677M 84% /mnt/win_c2
/dev/hda5 3.9G 2.4G 1.5G 60% /mnt/win_d
/dev/hda6 16G 16G 423M 98% /mnt/win_e"
--
And "fdisk -l /dev/hda" returns:
"Disk /dev/hda: 255 huvuden, 63 sektorer, 4111 cylindrar
Enheter = cylindrar av 16065 * 512 byte
Enhet Start Början Slut Block Id System
/dev/hda1 * 1 1028 8257378+ c Win95 FAT32 (LBA)
/dev/hda2 1029 4111 24764197+ f Win95 Utökad (LBA)
/dev/hda5 1029 1538 4096543+ b Win95 FAT32
/dev/hda6 2049 4111 16571016 b Win95 FAT32
/dev/hda7 1539 1827 2321361 83 Linux
/dev/hda8 1828 1858 248976 82 Linux växling
/dev/hda9 1859 2048 1526143+ 83 Linux"
--
Pleas make commets!!!
RE: Help resizing partitions!!!, Dan Didier, 2002/11/06
RE: Help resizing partitions!!!, Dan Didier, 2002/11/07