cfdisk
Hello
I deleted a swap partition(hda5)(on my mandrake),and then it called hda6 hda5. So know I can't use my mandrake anymore(because it needs the swap partition), and slackware(because that whas hda6). So how can i set hda5 back to hda6 using cfdisk? Thanx Hylke |
Post what this says fdisk /dev/hda and then press p and then press q ,david
|
When i type: fdisk /dev/hda it says something like:
The number of cylinders is bigger then 1024 bla bla, can cause some problems bla bla. |
Its not a problem. The following will display the partition info and quit.
fdisk -l /dev/hda (thats a small L) |
Disk /dev/hda: 255 heads, 63 sectors, 9729 cylinders
Units = cylinders of 16065 * 512 bytes Device Boot Start End Blocks Id System /dev/hda1 * 1 2595 20844306 83 Linux /dev/hda2 5230 6503 10233405 5 Extended /dev/hda3 2697 2797 811282+ 82 Linux swap /dev/hda4 2798 5229 19535040 83 Linux /dev/hda5 5230 6503 10233373+ 83 Linux Partition table entries are not in disk order |
hda6 is history,it is no more,sorry
|
Boot using a install CD to rescue mode. Mount the Mandrake / partition and modify its fstab file to change the swap partition from hda5 to hda3.
Then mount the slackware / partition which is now hda5 and change its fstab file from hda6 to hda5. Make sure the swap location is also hda3 |
Quote:
Quote:
Thanx Hylke |
When you boot the 1st install CD a menu will be displayed. Type in the word rescue and press the enter key.
|
Thanx
My Mandrake still doesn't works but i think i can fix that my self. Hylke |
All times are GMT -5. The time now is 12:11 AM. |