Help - Search - Members - Calendar
Full Version: Installing On A 3200 Microdrive?
OESF Forums > Distros, Development, and Model Specific Forums > Distro Support and Discussion > Ubuntu
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.
tanjian2
QUOTE(ckblackm @ Feb 18 2009, 01:08 PM) *
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?
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.
bort_83
QUOTE(ckblackm @ Feb 19 2009, 02:43 PM) *
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 smile.gif

This is the fstab actually:

CODE
# 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
bort_83
QUOTE(bort_83 @ Mar 6 2009, 11:26 PM) *
QUOTE(ckblackm @ Feb 19 2009, 02:43 PM) *
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 smile.gif

This is the fstab actually:

CODE
# 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 wink.gif
ckblackm
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
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..
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-2014 Invision Power Services, Inc.