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

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Installing On A 3200 Microdrive?
ckblackm
post Feb 18 2009, 05:08 AM
Post #1





Group: Members
Posts: 53
Joined: 9-January 05
Member No.: 6,171



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.
Go to the top of the page
 
+Quote Post
tanjian2
post Feb 18 2009, 01:44 PM
Post #2





Group: Members
Posts: 99
Joined: 13-November 06
Member No.: 12,390



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?
Go to the top of the page
 
+Quote Post
ckblackm
post Feb 19 2009, 05:43 AM
Post #3





Group: Members
Posts: 53
Joined: 9-January 05
Member No.: 6,171



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.
Go to the top of the page
 
+Quote Post
bort_83
post Mar 6 2009, 02:26 PM
Post #4





Group: Members
Posts: 24
Joined: 28-November 06
From: Turin, ITALY
Member No.: 12,889



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
Go to the top of the page
 
+Quote Post
bort_83
post Mar 6 2009, 03:15 PM
Post #5





Group: Members
Posts: 24
Joined: 28-November 06
From: Turin, ITALY
Member No.: 12,889



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
Go to the top of the page
 
+Quote Post
ckblackm
post Mar 9 2009, 07:25 AM
Post #6





Group: Members
Posts: 53
Joined: 9-January 05
Member No.: 6,171



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.
Go to the top of the page
 
+Quote Post
QuantumII
post Apr 16 2009, 12:59 AM
Post #7





Group: Members
Posts: 5
Joined: 27-December 07
Member No.: 21,119



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..
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: 14th September 2014 - 08:08 PM