Author Topic: C3100 And Zubuntu With Swap On Hard Drive  (Read 2971 times)

thebaz67

  • Newbie
  • *
  • Posts: 17
    • View Profile
C3100 And Zubuntu With Swap On Hard Drive
« on: January 28, 2009, 10:14:38 am »
Sorry for the total noob question but here goes.

I have installed Zubuntu to the SD card.  Followed the instructions to move to the internal flash but I do not see the selection for the boot to internal flash.

Also how do I point the swap, var and usr to the internal hard drive since the SD card I have is very slow.

Please be very detailed since I am lost.

Baz
« Last Edit: January 28, 2009, 10:50:41 am by thebaz67 »
SL-C3100 Zubuntu on SD | SL-C860 - Cacko 1.23
Proxim Harmony CF-wifi - socket 10/100 ethernet card - socket bluetooth card rev H

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
C3100 And Zubuntu With Swap On Hard Drive
« Reply #1 on: January 29, 2009, 03:04:25 pm »
For the internal flash part, you may need to make files in /boot as described in one of the other threads (just look in the SD card's /boot to get what they look like, copy them over, and modify as necessary).

For moving /usr, /var, and swap to the hard disk:

Make 4 partitions (2x ext3, 1x swap, 1 whatever for data)
Copy /usr/* to one of the ext3 ones
Copy /var/* to the other ext3 one
Edit /etc/fstab with the new mount points

I think that should work.
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

thebaz67

  • Newbie
  • *
  • Posts: 17
    • View Profile
C3100 And Zubuntu With Swap On Hard Drive
« Reply #2 on: January 30, 2009, 04:06:07 pm »
Thanks for the help.  I am going to give this a try...


any chance you could paste in a sample of the fstab file just as a sample

thanks
Baz
SL-C3100 Zubuntu on SD | SL-C860 - Cacko 1.23
Proxim Harmony CF-wifi - socket 10/100 ethernet card - socket bluetooth card rev H

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
C3100 And Zubuntu With Swap On Hard Drive
« Reply #3 on: January 30, 2009, 05:34:16 pm »
Sure. Here are sample lines for it:

Code: [Select]
/dev/hda1               /usr               ext2            defaults,noatime         0 0
/dev/hda2               /var               ext2            defaults,noatime         0 0
/dev/hda3               /mnt/data       ext2            defaults,noatime         0 0
/dev/hda4               none              swap            sw                            0 0

You can obviously adjust them as needed. They're pretty self-explanatory.
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

thebaz67

  • Newbie
  • *
  • Posts: 17
    • View Profile
C3100 And Zubuntu With Swap On Hard Drive
« Reply #4 on: February 03, 2009, 04:23:18 pm »
Thank you very much for the help...  It seems that this C3100 for me is a moving target.

I have since gotten zubuntu on the SD card and cacko on the NAND so I might stick with that once I get a faster SD card.

again thanks for the help.

Baz
SL-C3100 Zubuntu on SD | SL-C860 - Cacko 1.23
Proxim Harmony CF-wifi - socket 10/100 ethernet card - socket bluetooth card rev H