Author |
Message |
dhoyos
|
Posted: Thu Jun 09, 2005 2:14 pm |
|
Joined: Thu Jun 09, 2005 2:04 pm
Posts: 2
|
Hello everone,
I have been searching the forums but have been unable to find an answer. I have a sata hard drive and I am trying to install knoppmyth. I can go into csfdisk and create the partitions. Once thay have been created, however, I go back to the manual install menu the partition disk option is the only option available other that quit (No load config). I'm not sure what I'm doing wrong but I would appreciate some help. Thanks,
Daniel Hoyos
P.S. Motherboard doesn't have PATA
|
|
Top |
|
|
cesman
|
Posted: Thu Jun 09, 2005 4:53 pm |
|
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location:
Fontana, Ca
|
Have you read the installation instructions? All you need to know about a manual install is in there.
_________________ cesman
When the source is open, the possibilities are endless!
|
|
Top |
|
|
dhoyos
|
Posted: Thu Jun 09, 2005 7:53 pm |
|
Joined: Thu Jun 09, 2005 2:04 pm
Posts: 2
|
I have followed the instructions carefully creating the 4 partitons with csfdisk. Then executing the mkswap && swapon commands. When I execute
# mke2fs -O sparse_super -m0 -i8000000 -L cache -M /cache /dev/sda3
# mke2fs -j -O sparse_super -m0 -i8000000 -L myth -M /myth /dev/sda4
I end up getting a the 7 token error. I then need to use fdisk to erase the partitions and start again since csfdisk will not run due to the error. Any help would be appreciated. Thanks
|
|
Top |
|
|
mitkid
|
Posted: Sun Jun 19, 2005 12:59 am |
|
Joined: Sun Jun 19, 2005 12:40 am
Posts: 13
|
Quote: I have followed the instructions carefully creating the 4 partitons with csfdisk. Then executing the mkswap && swapon commands. When I execute # mke2fs -O sparse_super -m0 -i8000000 -L cache -M /cache /dev/sda3 # mke2fs -j -O sparse_super -m0 -i8000000 -L myth -M /myth /dev/sda4 I end up getting a the 7 token error. I then need to use fdisk to erase the partitions and start again since csfdisk will not run due to the error. Any help would be appreciated. Thanks
I have this same problem using my 300 GB WD SATA Hard drive. I followed the instructions on the 'pamphlet' - used CFDISK to create 4 primary (is this ocrrect?) partitions of sizes 2.5GB, 768MB, 6GB, & the rest in the last partition. I write the partition table, Then I press Ctrl+Alt+F2, type:
mkswap /dev/sda2 && swapon /dev/sda2
Then the 2 commands above:
mke2fs -O sparse_super -m0 -i8000000 -L cache -M /cache /dev/sda3
mke2fs -j -O sparse_super -m0 -i8000000 -L myth -M /myth /dev/sda4
I press Ctrl+Alt+F1 to return, and when I quit the partitioning program I get the '7 tokens needed' error.
I am a newbie to Linux, so may have missed something very simple. Do I need to format the '/' partition? If so, what fs should I use, and how do I do this? What about the swap partition? If I load CFDISK again, it tells me that the fs type of sda3 is 'linux ext2' and sda4 is 'linux ext3', and says they are called cache and myth, but does not give labels for the other partitions, and simply says the type is 'linux'. Is my swap partition supposed to be a different filesystem?
If anyone can help, I would really appreciate it - I have found this problem in a handful of posts, but nobody appears to have solved it.
|
|
Top |
|
|
tjc
|
Posted: Sun Jun 19, 2005 12:30 pm |
|
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location:
Arlington, MA
|
A vague memory from the back of my skull tells me that the message means that a test to get a parttion size failed because the drive wasn't where it expected it to be... Hang on... Hmmm... not finding it right off the bat...
You did use the four standard mount point names for the partitions with the same case right?
|
|
Top |
|
|
mitkid
|
Posted: Sun Jun 19, 2005 3:48 pm |
|
Joined: Sun Jun 19, 2005 12:40 am
Posts: 13
|
The only time I entered the labels for the partitions were in these lines:
Quote: mkswap /dev/sda2 && swapon /dev/sda2 mke2fs -O sparse_super -m0 -i8000000 -L cache -M /cache /dev/sda3 mke2fs -j -O sparse_super -m0 -i8000000 -L myth -M /myth /dev/sda4
I typed these lines as written above (same case). Do I have to label partition 1 and 2 somehow? Is it expecting the partitions in /xda rather than /sda as in the pamphlet?
|
|
Top |
|
|
tjc
|
Posted: Sun Jun 19, 2005 5:41 pm |
|
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location:
Arlington, MA
|
Volume labels don't really matter. Did you make a filesystem on the root parttion?
|
|
Top |
|
|
mitkid
|
Posted: Sun Jun 19, 2005 6:14 pm |
|
Joined: Sun Jun 19, 2005 12:40 am
Posts: 13
|
No - How do I do this? What type of filesystem do I need?
|
|
Top |
|
|
tjc
|
Posted: Sun Jun 19, 2005 6:40 pm |
|
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location:
Arlington, MA
|
Looks like ext3...
Code: root@black2:~# mount /dev/hda1 on / type ext3 (rw,errors=remount-ro) none on /proc type proc (rw,nodiratime) /dev/hda3 on /cache type ext2 (rw) /dev/vg/myth on /myth type ext3 (rw) sysfs on /sys type sysfs (rw) usbfs on /proc/bus/usb type usbfs (rw)
Although you probably don't want a sparse super block or the other "large files" mode stuff.
|
|
Top |
|
|
mitkid
|
Posted: Sun Jun 19, 2005 9:37 pm |
|
Joined: Sun Jun 19, 2005 12:40 am
Posts: 13
|
OK, I typed:
mke2fs -j -M / /dev/sda1
to format the boot partition in ext3. I can load cfdisk and it says that it is linux ext3. But I still get the same error when returning to the KnoppMyth install:
"Expected at least 7 tokens for --checklist, have 4"
Do I have to also mount the swap partition or specify a different filesystem type?
|
|
Top |
|
|
tjc
|
Posted: Sun Jun 19, 2005 11:14 pm |
|
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location:
Arlington, MA
|
mitkid wrote: Do I have to also mount the swap partition or specify a different filesystem type?
No. Swap is different. That's what the mkswap is for.
|
|
Top |
|
|
tjc
|
Posted: Sun Jun 19, 2005 11:32 pm |
|
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location:
Arlington, MA
|
OBTW - The error message you're getting means that the "checklist" function in KnoppMyth-auto is getting called without enough parameters... It looks like this IS related to your swap partition somehow, but probably because it doesn't see it...
When you created that parttion did you mark it as linux swap? What does running "fdisk -l" show (before you would normally swap back to the menu hoping for 6 items)?
BTW - Are you up to editing with vi? This may involve hacking one of the scripts...
Actually you may want to try booting with "noswap" too...
|
|
Top |
|
|
mitkid
|
Posted: Mon Jun 20, 2005 6:30 pm |
|
Joined: Sun Jun 19, 2005 12:40 am
Posts: 13
|
fdisk -l shows:
device Boot Start End Blocks Id Systen
/dev/sda1 * 1 304 2441848+ 83 Linux
/dev/sda2 305 397 747022+ 83 Linux
/dev/sda3 398 1144 6000277+ 83 Linux
/dev/sda4 1145 38913 303379492+ 83 Linux
mount shows:
/dev/root on / type ext2 (rw)
/dev/hdb on /cdrom ....
/dev/cloop on /KNOPPIX...
/ramdisk on /ramdisk... (ro)
automount(pid3435) on /mnt/auto type autofs (rw,....)
|
|
Top |
|
|
mitkid
|
Posted: Mon Jun 20, 2005 6:43 pm |
|
Joined: Sun Jun 19, 2005 12:40 am
Posts: 13
|
I just changed the file system type of /dev/sda2 to 82 Linux swap / solaris
then I re-ran the mkswap command - this now gives me the 6 menu options!
Thanks very much for your help! Really appreciated!
|
|
Top |
|
|
tjc
|
Posted: Mon Jun 20, 2005 8:22 pm |
|
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location:
Arlington, MA
|
OK, in the spirit of "watch one, do one, teach one" you're now in charge of helping the next newbie to show up with this problem.
Hope everything else goes smoothly for you...
|
|
Top |
|
|