Oh-no-what did I do?1
Trying to re-install Slack on my laptop last night. Problems with USB CDROM during install-slackware install corrupted-after reboot to try again--typed "setup", then "no partitions found-use cfdisk".
??I had just formatted it EXT3 before! Anyway-says the block size is 8094-should be 1024-says there's overlapping partitions. Used fdisk to delete and make new partitions, thrn cfdisk-still screwed up...What can I do? |
I would try to zero the beginning of the disk:
Code:
dd if=/dev/zero of=/dev/the_disk_to_be_formatted bs=512 count=1000 Afterward proceed with fdisk as usual. PS Please be patient while dd is running. |
OK-it's only got a 4GB HD-so I want to wipe it and somehow restore whatever is the best layout-somehow something went wrong-'cause after booting up slack via usb-I logged in, typed setup and "no partitions on HD-use fdisk/cfdisk.
typed cfdisk-error-no partitions-unknown partitions. typed fdisk /dev/hda partitions=1-4??(should only be 2-hda1/ and hda2/swap. anyway, tried to figure out what the defaults should be-cylinders, sectors, etc-I don't know the defaults?? Will "dd if=/dev/zero of=/dev/hda bs=512 count=1000" fix it to the defaults it should be at? I really don't know how this happened-this was a third re-install of Slack12.2-trying to install a minimal system-(4GB HD & 160MB RAM). I didn't partition anything, just re-formatted EXT3 for each partition(2). It keeps saying the "block" size is out of whack-hopefully dd will fix it. Thanks-I'm not at home now-will be soon-then I'll see what can be done-Should've never removed Slack! |
OK there come your nano how-to.
Let's suppose your disk's name be /dev/hda. Type: Code:
dd if=/dev/zero of=/dev/hda bs=512 count=1000 Code:
fdisk /dev/hda Code:
n # to create a new partition. By default type 83 (Linux) In short you will have created two partitions and will be using: - the first one (3500 megabytes) for / - the second one (remaining space on the disk) for swap. With such a layout you optimize space's usage, which is useful as you only have 4 GB available. It is not necessary to have /home on a separate partition. Of course even so you won't be able to install everything. |
While your posts-are-readable, it's kind-of hard-to-read them because of all-the-dashes you typed-in. They look reminiscent of command-line-options and make things a little-bit-confusing. :confused:
|
OUTPUT of fdisk /dev/hda after I did dd if=/dev/zero of=/dev/hda bs=512 count=1000-
Code:
Device contains neither a valid DOS partition table, |
This is an usual warning which shows no problem. Use fdisk as indicated in my last post.
PS I just tried with an USB stick; same warning: everything went fine. |
OK-maybe it worked?
I tried to change the default from 8994 to 1024-didn't seem to take after writing to disk-even after reboot. It also says I have 62 unallocated sectors-what does that mean? |
You do not have to - nor can you anyway - change 8994 to 1024: 8994 is proportional to the space on your disk. Do you really think that 4G is too much ?
62 unallocated (understand: not used) sectors is no big deal; do not worry about that. Just to make sure, send the ouptut of 'fdisk -l'. |
Thanks for the help!
I am finishing up the Slackware (lite) 12.2 install now on the little 4GB HD. As soon as it finishes I will post the output of fdisk -l |
OK-installed slackware 12.2 after following your directions-went fine
output of fdisk -l Code:
Disk /dev/hda: 4327 MB, 4327464960 bytes here is free -m after swapon -a in KDE-running seamonkey and superterminal- Code:
root@b:~# free -m Code:
root@b:~# dh -f Any idea why no swap is being used?? |
Quote:
Quote:
Obviously beeing able to keep everything in RAM is preferable, as input/output from/to disk are way slower than from/to RAM. This is why if you have a slow system, adding more RAM is usually the best bet to speed it up. Hopefully systems based on Linux are usually not as memory hungry as other systems ;) |
Configuring fluxbox is easy.
In a pinch: you only have to edit a few files in ~/.fluxbox directory. And among other resources on http://fluxbox.org they have a good wiki, with many howtos. |
All times are GMT -5. The time now is 06:09 PM. |