Help - Search - Members - Calendar
Full Version: Swap Partition
OESF Portables Forum > Everything Else > Archived Forums > Distros, Development, and Model Specific Forums > Model Specific Forums > Sharp Zaurus > C1000/3x00 Hardware
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 and changed rc.rofilesys. but when i formatted it with mkswap zaurus won't boot. what should i do.
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:
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.
i can make it bootable when i format hdd1 with mke2fs -j and put the files frop 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.
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.
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?
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.
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.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2019 Invision Power Services, Inc.