Author Topic: Installing On A 3200 Microdrive?  (Read 3165 times)

ckblackm

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
Installing On A 3200 Microdrive?
« on: February 18, 2009, 08:08:01 am »
I've gotten zubuntu working following the instructions to run via the sd card... but
I was wondering what would be needed to get this running via the internal microdrive on my 3200?

I'd like to just have it running from 1 partition on the microdrive.  (I've currently got a swap, / , and a data partition defined)

thanks,
Christopher.

tanjian2

  • Jr. Member
  • **
  • Posts: 98
    • View Profile
Installing On A 3200 Microdrive?
« Reply #1 on: February 18, 2009, 04:44:58 pm »
Quote from: ckblackm
I've gotten zubuntu working following the instructions to run via the sd card... but
I was wondering what would be needed to get this running via the internal microdrive on my 3200?

I'd like to just have it running from 1 partition on the microdrive.  (I've currently got a swap, / , and a data partition defined)

thanks,
Christopher.

Mount the microdrive, repartition it, format as ext2 then install rootfs&kernel onto the microdrive - reboot and voila?
SL-C3000(Spitz) - pdaXii13 5.5alpha + sound enhanced kernel - MD in 1 great big partition -  Ambicom CF Wifi + USB Ethernet  and NOW Zubuntu on a 4Gb SD

ckblackm

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
Installing On A 3200 Microdrive?
« Reply #2 on: February 19, 2009, 08:43:15 am »
What changes do I need to make to /etc/fstab to account for booting from a microdrive and/or having swap on the microdrive?
Or better yet... does someone have a sample fstab from a 3200 (or similar) that's running Zubuntu from the microdrive?

thanks,
Christopher.
« Last Edit: February 20, 2009, 12:03:09 am by ckblackm »

bort_83

  • Newbie
  • *
  • Posts: 33
    • View Profile
    • http://
Installing On A 3200 Microdrive?
« Reply #3 on: March 06, 2009, 05:26:00 pm »
Quote from: ckblackm
What changes do I need to make to /etc/fstab to account for booting from a microdrive and/or having swap on the microdrive?
Or better yet... does someone have a sample fstab from a 3200 (or similar) that's running Zubuntu from the microdrive?

thanks,
Christopher.

I'm trying to copy the installation on the microdrive.. then i will check the fstab ...

i think only that you have to put /dev/hdaX (where x is the partition number) .. in the /etc/fstab mounted as /

i will update my post when copy will end

This is the fstab actually:

Code: [Select]
# don't mount /dev/mtdblock2 since Spitz uses pivot_root
# or 2.6 directly boots from the hdd
# /dev/mtdblock2     /            jffs2   rw,noatime              1  1
rootfs             /            auto    defaults                1  1
proc               /proc        proc    defaults                0  0
# we can use a normal var filesystem with a microdrive
# tmpfs              /var         tmpfs   defaults                0  0
tmpfs              /media/ram   tmpfs   defaults                0  0

# Compact Flash memory cards
/dev/hdc1       /media/cf       auto    defaults,sync,noauto    0  0
# SD/MMC in kernel 2.4
/dev/mmcda1     /media/card     auto    defaults,sync,noauto    0  0
# SD/MMC in kernel 2.6
/dev/mmcblk0p1  /media/card     auto    defaults,sync,noauto    0  0

#
# USB
#
/dev/sda1       /media/usbhdd   vfat            noauto,umask=000,noatime,iocharset=utf8,codepage=932    0  0
devpts          /dev/pts        devpts          mode=0620,gid=5       0  0
usbfs           /proc/bus/usb   usbfs           noauto                0  0

#
# Harddisk
#
#/dev/hda2           /home           ext3    defaults    0  0
#/dev/hda3           /media/hdd      vfat    defaults    0  0
« Last Edit: March 06, 2009, 05:36:19 pm by bort_83 »
sl-C3000
jabber: bort_83[at]jabber.linux.it
LiNUX User: 371384

bort_83

  • Newbie
  • *
  • Posts: 33
    • View Profile
    • http://
Installing On A 3200 Microdrive?
« Reply #4 on: March 06, 2009, 06:15:12 pm »
Quote from: bort_83
Quote from: ckblackm
What changes do I need to make to /etc/fstab to account for booting from a microdrive and/or having swap on the microdrive?
Or better yet... does someone have a sample fstab from a 3200 (or similar) that's running Zubuntu from the microdrive?

thanks,
Christopher.

I'm trying to copy the installation on the microdrive.. then i will check the fstab ...

i think only that you have to put /dev/hdaX (where x is the partition number) .. in the /etc/fstab mounted as /

i will update my post when copy will end

This is the fstab actually:

Code: [Select]
# don't mount /dev/mtdblock2 since Spitz uses pivot_root
# or 2.6 directly boots from the hdd
# /dev/mtdblock2     /            jffs2   rw,noatime              1  1
rootfs             /            auto    defaults                1  1
proc               /proc        proc    defaults                0  0
# we can use a normal var filesystem with a microdrive
# tmpfs              /var         tmpfs   defaults                0  0
tmpfs              /media/ram   tmpfs   defaults                0  0

# Compact Flash memory cards
/dev/hdc1       /media/cf       auto    defaults,sync,noauto    0  0
# SD/MMC in kernel 2.4
/dev/mmcda1     /media/card     auto    defaults,sync,noauto    0  0
# SD/MMC in kernel 2.6
/dev/mmcblk0p1  /media/card     auto    defaults,sync,noauto    0  0

#
# USB
#
/dev/sda1       /media/usbhdd   vfat            noauto,umask=000,noatime,iocharset=utf8,codepage=932    0  0
devpts          /dev/pts        devpts          mode=0620,gid=5       0  0
usbfs           /proc/bus/usb   usbfs           noauto                0  0

#
# Harddisk
#
#/dev/hda2           /home           ext3    defaults    0  0
#/dev/hda3           /media/hdd      vfat    defaults    0  0

everything seems to work... just made a copy of the fs from the sd to the microdrive partition
sl-C3000
jabber: bort_83[at]jabber.linux.it
LiNUX User: 371384

ckblackm

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
Installing On A 3200 Microdrive?
« Reply #5 on: March 09, 2009, 11:25:07 am »
What about this entry?

# we can use a normal var filesystem with a microdrive
# tmpfs              /var         tmpfs   defaults                0  0
tmpfs              /media/ram   tmpfs   defaults                0  0




I noticed when I did a mkswap that the system seems to preform much snappier (I have a 128mb swap partition, iirc).

Christopher.

QuantumII

  • Newbie
  • *
  • Posts: 5
    • View Profile
Installing On A 3200 Microdrive?
« Reply #6 on: April 16, 2009, 04:59:36 am »
Hi

What is the correct procedure to copy the SD card filesystem onto the microdrive of a 3200 ? I've CP-ed all folders 'cept MNT (because that would create an inifite loop ?) with the command "cp -r /foldername /mnt/cf " (where mnt/cf is the first partition of the microdrive)

it does not work. I get the "no bootable device found" error message..