Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: swap partition format problem< Next Oldest | Next Newest >
avenger Offline





Group: Members
Posts: 21
Joined: July 2005
Posted: Aug. 27 2005,18:46 QUOTE

I used cfdisk to partition my hard drive, hda1 (partion with the dsl image), hda2 (home) hda5 (swap) I formated hda1 and  hda2  no problem ,hda5  I got                                     root@tty1(/1#mkswap /dev/hda5 swapon/dev/hda5              BusyBox v1:00-prc 10 (2004 .06. 12-14:15+oooo)multicall binary                                                                         us age:mk swap9(-c) (-vol-v1)device (block-count)
preparea disk partion to be used as a swap partion
Options:
     -c check for read ability
      -vo make version 0 swap (max 128 megs)                    v-1
Back to top
Profile PM 
avenger Offline





Group: Members
Posts: 21
Joined: July 2005
Posted: Aug. 27 2005,18:54 QUOTE

hit the enter button by mistake
   v1make version 1 swap (big!) (default for kernels)            
   block-count  Number of block to use (2.1.117)  (default the entire partion)  I does anyone know what to do with this? I can't continue with the install until I can format the hda5 partion thank-you
Back to top
Profile PM 
avenger Offline





Group: Members
Posts: 21
Joined: July 2005
Posted: Aug. 28 2005,03:54 QUOTE

Another problem I entered the install the system will not recognize my hda1 dsl image partition as a linux partition.It says maybe I have to reboot or create a newpartition table in cfdisk. Any one have any ideas? I don't know what I'm doing wrong
Back to top
Profile PM 
stoneguy Offline





Group: Members
Posts: 38
Joined: Jan. 2004
Posted: Aug. 28 2005,13:29 QUOTE

Did you format /dev/hda1 after you allocated it? Boot DSLLive using
    dsl 2
which takes you to a command line. Then enter these commands
    sudo mk2fs /dev/hda1
    sudo mk2fs /dev/hda2
to set filetype and format / and /home.

Reboot with
    shutdown -r now
after making these sort of changes.

As for swap, I think you're there but you don't realize it.
The steps to readying a swap partition are
    1. allocate the partition (with cfdisk or fdisk)
    2. format it (with mkswap)
    3. mark it available (with swapon)
Depending on what you do and how much RAM your box has, you might be able to live without swap.

Check out DSL Documentation Project section 2.b
Back to top
Profile PM 
avenger Offline





Group: Members
Posts: 21
Joined: July 2005
Posted: Aug. 28 2005,18:39 QUOTE

Thanks for the reply, I did boot  dsl 2 went to cfdisk created my partitions , hda1 primary, wrote it hda2 home primary, wrote it,hda5 swap logical wrote it , then I clicked on quit, then I formated the partitions after the command line it looked like it worked. Then I did the shutdown _r now. It could be I didn't restart properly. When I did the command ,it gives the kill command  remove cd from cd drive close door press enter then the computer shuts down and restarts Iput the cd back in the drive so it will boot, I type in dsl2  and it boots  it says something about the hd being partitioned  and the swap partition is listed as needing a file system which I thought I did in cfdisk maybe I used the wrong # 82?. I also didn't use sudo befor the format command
Back to top
Profile PM 
7 replies since Aug. 27 2005,18:46 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: swap partition format problem

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code