PDA

View Full Version : Swap is not recognized



fluberman
05-25-2003, 05:47 AM
I want to install knoppix to my laptop and want it to occupy the whole disk. So I created 2 partitions: / and swap on hda, but later knx-hdinstall could not identify swap partition, and gave me a message that there is no swap partition on hda. After that the installatation just stopped.
I'm wondering what was happening here and how to fix it?

PS: I just found the following error message during the boot process:
"hptraid: Error reading superblock"
Is it the cause of the problem?

Dave_Bechtel
06-21-2003, 01:26 PM
--Put the swap partition 1st, make sure it is hda1, type 82, at least 256Meg.

--Put root as hda2, type 83, at least 2300Meg.

--If fdisk tells you the old partition table is still in use by the kernel after you 'w'rite it to disk, reboot.

--Then run ' mkswap -c /dev/hda1 ' and ' swapon /dev/hda1 ', then knx-hdinstall. Keep the board posted with results.


I want to install knoppix to my laptop and want it to occupy the whole disk. So I created 2 partitions: / and swap on hda, but later knx-hdinstall could not identify swap partition, and gave me a message that there is no swap partition on hda. After that the installatation just stopped.
I'm wondering what was happening here and how to fix it?

PS: I just found the following error message during the boot process:
"hptraid: Error reading superblock"
Is it the cause of the problem?