OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Swap Partition
Mecit
post Sep 4 2006, 02:09 AM
Post #1





Group: Members
Posts: 15
Joined: 22-July 06
Member No.: 10,499



i have an sl-c 3200 and i want to make hdd1 a swap partition. i resized it to be 256 mb. i also followed the instructions in http://www.users.on.net/~hluc/myZaurus/ and changed rc.rofilesys. but when i formatted it with mkswap zaurus won't boot. what should i do.
Go to the top of the page
 
+Quote Post
desertrat
post Sep 4 2006, 03:26 AM
Post #2





Group: Members
Posts: 742
Joined: 15-October 05
From: Gulag, Siberia
Member No.: 8,322



Unless you know what you're doing you should just keep hdd1 & hdd2 as they are (they don't use a lot of space), then resize hdd3 (the FAT partition) to make room for more partitions. Eg here's what my partition table looks like:
CODE
Disk /dev/hdc: 4095 MB, 4095737856 bytes
16 heads, 63 sectors/track, 7936 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

  Device Boot      Start         End      Blocks   Id  System
/dev/hdc1               1          20       10048+  83  Linux
/dev/hdc2              21          40       10080   83  Linux
/dev/hdc3              41        4885     2441880    c  W95 FAT32 (LBA)
/dev/hdc4            4886        7936     1537704    5  Extended
/dev/hdc5            4886        7405     1270048+  83  Linux
/dev/hdc6            7406        7936      267592+  82  Linux swap / Solaris


NB if I was to repartition again I would definitely make the FAT partition even smaller (probably 1GB) and give the space to the ext3.

However I've no idea how you can make your system bootable again.
Go to the top of the page
 
+Quote Post
Mecit
post Sep 4 2006, 05:40 AM
Post #3





Group: Members
Posts: 15
Joined: 22-July 06
Member No.: 10,499



i can make it bootable when i format hdd1 with mke2fs -j and put the files frop trisoft.de. But i want to make hdd1 a swap partition. Currently My hdd1 partition is 256 mb linux swap, hdd2 part is 1024 mb linux ext2 and hdd3 is 4.75 gb fat 32.
Go to the top of the page
 
+Quote Post
bam
post Sep 5 2006, 04:30 PM
Post #4





Group: Members
Posts: 1,213
Joined: 9-June 05
From: Gobi Desert, Mongolia
Member No.: 7,306



I had that problem too, I just resized my fat32 partition and set up a /dev/hdx4 for a swap partition(256mb) and added a swapon /dev/{$ide}4 to the end of my rc.rofilesys, also added some fsck to hdd1 and hdd2 so it checks them on a reboot.
Go to the top of the page
 
+Quote Post
Mecit
post Sep 6 2006, 04:03 AM
Post #5





Group: Members
Posts: 15
Joined: 22-July 06
Member No.: 10,499



yes that would work but i just don't understand why doesn't work for /hdd1.
i removed the NotAvailable files formatted using mkswap and changed the rc.rofilesys. but still i get the HDD! ERROR. is there any difference betwen sl-c3100 and 3200 other than the disk size?
Go to the top of the page
 
+Quote Post
desertrat
post Sep 6 2006, 12:00 PM
Post #6





Group: Members
Posts: 742
Joined: 15-October 05
From: Gulag, Siberia
Member No.: 8,322



QUOTE(Mecit @ Sep 6 2006, 12:03 PM)
yes that would work but i just don't understand why doesn't work for /hdd1.

It's not worth worrying about how to use the 1st and 2nd partitions. On the 3100 they're only using a measly 20MB out of 4000MB (0.5%) - simply not worth losing sleep over.
Go to the top of the page
 
+Quote Post
bam
post Sep 6 2006, 07:11 PM
Post #7





Group: Members
Posts: 1,213
Joined: 9-June 05
From: Gobi Desert, Mongolia
Member No.: 7,306



actually I increased hdd1 & 2 to 100mb and 1gb for moving stuff like my snes emu/scummvm games along with the apache server and my pine/fetchmail/procmail stuff saved a ton of space, oh yea also a complete set of linux man pages as well.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 23rd September 2014 - 06:27 PM