PDA

View Full Version : partitions



newknoppixguy
08-29-2004, 10:49 PM
I want to install knoppix 3.6 on my Hard drive, but I don't know how to on Knoppix. :D
I use to have windows 2000 on the HD but now when I boot windows it hangs while loading network connections. (it crashed before I had knoppix) :x

How do I make a partition with ext3, if my old partition has NTFS. My hard drive is only 6GB :? :x

baldyeti
08-30-2004, 12:06 AM
I haven't seen 3.6 yet, and there may now be a menu entry for the installer. But the following surely still works: open a "konsole" (terminal with shell icon on the toolbar), then type "sudo knx2hd". The installer should launch qtparted when you need to define your partitions.

firebyrd10
08-30-2004, 01:47 AM
I haven't seen 3.6 yet, and there may now be a menu entry for the installer. But the following surely still works: open a "konsole" (terminal with shell icon on the toolbar), then type "sudo knx2hd". The installer should launch qtparted when you need to define your partitions.

Just type knoppix-installer

newknoppixguy
08-30-2004, 02:09 AM
Ok I deleted my windows NTFS junk I made a new partition with ext3 and clicked the save button.. I now opened the root console and typed in "knoppix installer" When I get to the choose my partition I choose my only option "maxtor hard drive" or something like that (my HD is by maxtor) and then it gives me a error at the bottom of the screen. "fatal error something" and then another error "maxtor whatever is read only"
then it just goes to the beguining and lets you do it again or exit (exit it just gets you back to the root console)

newknoppixguy
08-30-2004, 02:16 AM
Okay I tried it again and this is what it really says.

Opened disk read-only - you have no permission to write

and the next one says.

FATAL ERROR: Cannot read disk drive Press any key to exit cfdisk

Thats it.

Radagast
08-30-2004, 03:03 AM
Use CTRL-ALT-F2 to switch to a superuser console.

Make sure that none of your partitions are mounted (use the df command to see what is mounted) and that your swap space is turned off (swapoff).

Then run the knoppix-installer script.

newknoppixguy
08-30-2004, 03:40 AM
I will make it bold, normal, bold, normal so you don't get confused.

Okay when I did the DF command it said:
Filesystem 1k-blocks Used Available Use% Mouted on
/dev/root 3471 1108 2363 32% /
/dev/hdc 716308 716308 0 100% /cdrom
/dex/cloop 1943588 1943588 0 100% /KNOPPIX
/ramdisk 149992 2012 147980 2% /ramdisk

How do I turn off stuff, Is this okay?

Okay here is what the swapoff command said
usage: swapoff [-hV]
swapoff -a [-v]
swapoff [-v] special ...

Is this okay, what does it mean?

baldyeti
08-30-2004, 02:05 PM
"swapon -s" will list active swapspace(s)
"swapoff -a" will disable all swapspace(s)

You could also boot with the noswap cheatcode.

newknoppixguy
08-30-2004, 04:30 PM
I can never type any cheatcodes at the boot: thing because I have to write failsafe, otherwise If I don't it will crash while trying to find the cd drive. Is their a way to write 2 cheatcodes?

OErjan
08-30-2004, 04:55 PM
sure, just like this.
boot: knoppix failsafe nopcmcia noagp
that is just spcae betwen them, some might conflict with eachother but...

Radagast
08-30-2004, 07:15 PM
newknoppixguy:

Please post your partition table using this command:

bash# fdisk -l /dev/hda

hda is ide0 master. If your boot drive is somewhere else then substitute hda with whatever drive you are using (hda, hdb, or hdd).

thank you.

newknoppixguy
08-31-2004, 02:40 AM
Did you spell that wrong I tried that command in Konsole, ctrl+alt+F1, and ctrl+alt+F2. and is that a 1 or a I?

newknoppixguy
08-31-2004, 02:43 AM
This is the error I got the first time with a one or a I:
bash: bash#: command not found

This si the error I got when I used the line that is on the key with a baskslash.
bash: bash#: command not found
bash: /dev/hda: Permission denied

newknoppixguy
08-31-2004, 02:47 AM
I tries also hdb and hdd and those didn't work.

baldyeti
08-31-2004, 06:27 AM
It's 'ell' (as in linux)

Radagast
08-31-2004, 01:10 PM
In X you can select text with your mouse in almost any application. Just hold the left mouse button down and sweep the pointer across the text. For instance, select this text:

fdisk -l /dev/hda

Then alt-tab to your root console window and use the middle mouse button to paste the text. On wheel mice the wheel is the middle mouse button.

Cutting and pasting avoids typos and font ambiguities.

newknoppixguy
08-31-2004, 07:02 PM
This is what I got when I wrote it in the ctrl+alt+F2 thing. And I wrote the letter "ell". I'll also do bold, normal so you don't get mixed up.

I wrote: fdisk -l /dev/hda

and this is what I got:

Disk /dev/hda: 6800 MB, 6800080896 bytes
255 heads, 63 sectors/traks, 826 cylinders
Untis = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 1 826 6634813+ 83 Linux

Thats all!

newknoppixguy
08-31-2004, 07:12 PM
Stuff about my systems:
I am running 2 computers at the same time one (knoppix computer) is a PII with 500Mhz? with a 512k front side bus, 300something MB of RAM, CD,CD-RW,Floppy, HD with 6gb, Diamond StealthIII video card w/ drivers.

And My other computer is the computer that I can read the posts And type in stuff you tell me. Specs: IBM Netvista 6790 13U with a CD drive,floppy, HD with 18.9gb, 300something MD RAM, NVidia Vanto (video card), P4 with 1.94Ghz?, Windows XP Home with SP1 and 2.

newknoppixguy
08-31-2004, 07:17 PM
Also the computer are like a foot apart so I can look on one screen while I type on the other. The specs about the last computer I accedentily wrote in MD of RAM I meant to write MB

newknoppixguy
08-31-2004, 07:17 PM
Also the computer are like a foot apart so I can look on one screen while I type on the other. The specs about the last computer I accedentily wrote in MD of RAM I meant to write MB

newknoppixguy
08-31-2004, 07:23 PM
Sorry, I prested submit to many times. (Darn wirless connection so slow!)

Radagast
09-01-2004, 06:02 PM
Well, it's a strange problem. Might be a hardware problem - maybe there is a new bios for the drive. But here is the last thing I would try. Usually I would do this with a rescue disc. I think these commands are on the knoppix 3.6 live cd. You might have to change the numbers in the second mkpart command to fit your disk geometry.

bash# parted /dev/hda
(parted) rm 1
(parted) mkpart primary linux-swap 0.0 256.0
(parted) mkpart primary ext2 256.0 6800
(parted) print
(parted) quit
bash# mkext2fs -j /dev/hda2

newknoppixguy
09-01-2004, 06:44 PM
None of them worked. :cry: :cry: :cry: :cry:

Radagast
09-03-2004, 02:04 AM
Well, without any more information regarding error messages or dmesg output or /proc/kmsg, etc, I can't help you.

Is your target computer connected to the internet? One of the nice things about Knoppix is you should be able to boot it and connect to the internet off CD. So you should be able to make all these posts from your target computer. That would be nice, because you could just cut and paste the error messages, /var/log/messages, and so on.

Anyway, sorry it didn't work for you. Maybe next time.

shah
09-03-2004, 02:31 AM
I would suggest you run testdisk first to check your partition. It may wrongly written.

newknoppixguy
09-03-2004, 04:07 AM
I created a Swap Parition (whith the correct filesystem) Now when I get to the installer their more options when it starts to install it says:

Error: Formatting of failed. Some messages from
mkfs.ext3: Usage: mkfs.ext3 [-c|-t|-l filename] [-b
block-size] [-fragment-size]
[-i bytes-per-inode] [-j] [-J journal-options] [-N
number-of-inodes]
-----------------------------------------------------------45%----
< OK >