PDA

View Full Version : Insall problems



Tim Novak
08-30-2004, 11:32 PM
I am a newbie to this forum and am asking for help in a hard drive install. I am using a ECS laptop for Knoppix, it has 128 megs of ram with a 20 gig hd and a windoze partition. I used Partition Magic to create the partitions (400 meg swap and a 9 gig ext3) and to format them I used the default setting for the partitions. My problem is that when I complete the first part of the install (the information stage) and get to the program install where the HD is formatted I get errors and it will not format the partitions. I have tried a new image with no sucess. I can use "cfdisk" to see the partitions. The CD with knoppix will run fine on this PC it finds all of the hardware with the exception of the AMR modem. Can any one help with this problem.

baldyeti
08-30-2004, 11:35 PM
Could you tell us a little more about those error messages you're seeing, please? And maybe also show us the output of "fdisk -l" as issued from the live-cd.

mzilikazi
08-31-2004, 02:04 AM
I used Partition Magic to create the partitions (400 meg swap and a 9 gig ext3) and to format them I used the default setting for the partitions.

Repeat after me:

Partition magic bad! cfdisk good! :lol:

I am not a PM user so I may be wrong but I'm guessing you have no linux swap. How to find out?

$ free -m|grep Swap

How to make a swap file?

mkswap /dev/hda2
swapon /dev/hda2

Check it again now:

$ free -m|grep Swap

Got swap? Yeah? Try the installer.
Of course.........I could be crazy.....

Tim Novak
08-31-2004, 05:41 AM
Baldyeti, this is what I copied from fdisk "clinders set @ 2432 larger that 1024."
The error I get in the formatting is "formatting of failed. some messages from mkfs. ext3: usage: mkfs. ext3 [-cl-tl-l filename] [-b block-size] [-f fragment-size] [-i byts-per-inode] [-j journal-options] [-n number-of-inodes] [-m reserved-blocks] [-o creator-os] [-g ." This is verbatem what comes up in the diolog box.
To mzilikazi, I agree that Partition Majic is not a very good program, it did however let me create the ext3 partition as well as the swap partition. Please remember that I am a newbie to Linux and am comming form a windoze world where this program is better than what windoze offers.

eco2geek
08-31-2004, 07:38 AM
I will respectfully disagree with mzilikazi and state that I think PartitionMagic is a fine program. (Or was, at least, before they sold it to Symantec.) I can say with certainty that it is better than QtParted. And it may not be "better," or give you as many format choices, but it's at least easier to use than cfdisk.

If you formatted your 9GB ext3 partition and your 400MB swap partition (hopefully as primary partitions!) with PartitionMagic before running the Knoppix installer, why are you doing it again with cfdisk?

No need to. Run step one of the installer, save your configuration, and, if you have to, edit the installer's configuration file (saved by default as /root/.knofig) to tell it which partitions to use.

markb
08-31-2004, 11:19 AM
I will respectfully disagree with mzilikazi and state that I think PartitionMagic is a fine program. (Or was, at least, before they sold it to Symantec.) I can say with certainty that it is better than QtParted. And it may not be "better," or give you as many format choices, but it's at least easier to use than cfdisk..

I find it odd that QtParted seems to be referred to all the time but every time I have ever run it, it fails miserably, or reports incorrect partitions, or locks up, etc. It's good eye candy, but does QtParted actually ever work?

Actually, cfdisk doesn't have the glamour but it sure does the job. I mean really - what else do you want a partitioner to do?

mzilikazi
08-31-2004, 12:57 PM
it did however let me create the ext3 partition as well as the swap partition. Please remember that I am a newbie to Linux and am comming form a windoze world where this program is better than what windoze offers.

Sure I understand. :) Rule of thumb is; make windows partitions with windows tools and make Linux partitions with Linux tools. I (like markb) have never actually seen Qtparted work so let's just forget that option. Cfdisk is not at all complicated to use and there is a howto (http://www.knoppix.net/forum/viewtopic.php?t=3311) for cfdisk. If you do not have internet when booted to cd then print this (and the howto) or worse come to worst, write it down. Of course proper spacing and in *NIX capitalization are both very important!

I would suggest removing and recreating partitions w/ cfdisk. After that REBOOT so the partition table is reread. Check your partition table like so:


su
fdisk -l

t should look something like this:


# fdisk -l

Disk /dev/hdc: 20.4 GB, 20490559488 bytes
16 heads, 63 sectors/track, 39703 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

Device Boot Start End Blocks Id System
/dev/hdc1 1 2906 1464592+ 83 Linux
/dev/hdc2 2907 6781 1953000 83 Linux
/dev/hdc3 6782 10656 1953000 83 Linux
/dev/hdc4 10657 39703 14639688 5 Extended
/dev/hdc5 10657 20344 4882720+ 83 Linux
/dev/hdc6 20345 22282 976720+ 83 Linux
/dev/hdc7 22283 38752 8300848+ 83 Linux
/dev/hdc8 38753 39703 479272+ 82 Linux swap

Now you must format the swap partition.


mkswap /dev/hda2
swapon /dev/hda2

Now you can run the installer.

mzilikazi
08-31-2004, 01:07 PM
I will respectfully disagree with mzilikazi and state that I think PartitionMagic is a fine program. (Or was, at least, before they sold it to Symantec.) I can say with certainty that it is better than QtParted. And it may not be "better," or give you as many format choices, but it's at least easier to use than cfdisk.

OK sounds like we all agree that Qtparted has some distance to go before becoming a really good tool. Regarding PM perhaps I have a Pavlovian dog type reaction to any non-OSS software. :) If I had to shrink an NTFS partition then perhaps I would prefer to use PM but I never need to do that because I would never create only 1 partition on an hdd (see my 20G drive partition scheme above). ;) A single partition is one of the silliest thing I've ever heard of but we all know that M$ generally does this. But I digress....


If you formatted your 9GB ext3 partition and your 400MB swap partition (hopefully as primary partitions!) with PartitionMagic before running the Knoppix installer, why are you doing it again with cfdisk?

Presumably the installer is telling him that he does not meet the requirements for installation and forcing him to partition the drive. This is why I feel that the PM created partitions are not very good and should be redone w/ cfdisk.

Tim Novak
09-05-2004, 05:49 PM
I want to thank all who offereg help, I am still having problems though. I have tried all of the suggestions with the excepion of one, the one offered by eco2geek. I do not know how to.
I realy tried all of the suggestions to the point of pulling the hard drive to wipe it and start all over. By the time I was done I could'nt boot into windoze, cfdisk would'nt open the partition tables because it was really messed up. The good news all is back to where I started. My bottle neck seems to be the installer script at setep three.
I recreated free space using Partition Magic (10 gig), I then checked this with 'cfdisk' and created a 400 meg swap file and set the rest to option 83 (Linux).
I then got Knoppix up and running (here is where I deveated a little), I used QTparted to look at the partitions and format them. I then rebooted the knoppix CD and verified the partitions using cfdisk. The partitions were as stated by QTparted. I the proceded to try the installer script only to get the same error messages. I tried two installs one as a primary partition and another as logical partition neither worked.
Is there another way to install the program or is this laptop a stinker. In all honesty it did not like the mandrake install, I had to pull the hard drive to fix it as well, (soap box time) this is really a pain since this one has an external floppy that will not work in Dos.

shah
09-06-2004, 09:19 AM
From what I see, you probably has bios issues. Sometimes linux won't run if you set your bios to automatically detect your harddisk.
Try set your hardisk manually in your bios.Some bios include harddisk detection utilities. It's better for you to upgrade your bios first.
Then Remove all existing partition and create new one.