Editing Creating a large partition and booting off it

Warning: You are not logged in. Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 46: Line 46:
Copy the device tree (Sure this is too much, but not copying it will not work)
Copy the device tree (Sure this is too much, but not copying it will not work)
  cp -af /dev/* <mountpoint>/dev
  cp -af /dev/* <mountpoint>/dev
-
 
-
On the new partition, edit the file etc/event.d/rcS-late. Right after
 
-
rm -f $fstab_tmp insert the following lines, which you may want to adapt to your needs:
 
-
    cat << EOF > $fstab
 
-
# marcus-generated 20:11
 
-
#rootfs / rootfs defaults,errors=remount-ro,noatime 0 0
 
-
/dev/mmcblk0p4 / ext3 rw,defaults,errors=remount-ro,noatime 0 0
 
-
/dev/mmcblk0p1 /home/user/MyDocs vfat  noauto,nodev,noexec,nosuid,noatime,nodiratime,utf8,uid=29999,shortname=mixed,dm ask=000,fmask=0133,rodir 0 0
 
-
/dev/mmcblk0p2 /home ext3 rw,noatime,errors=continue,commit=1,data=writeback 0 0
 
-
/dev/mmcblk0p3 none swap sw 0 0
 
-
EOF
 
-
 
Using bootmenu.sh and this entry in /etc/bootmenu.d I can now boot into my new 3.7GB root drive
Using bootmenu.sh and this entry in /etc/bootmenu.d I can now boot into my new 3.7GB root drive

Learn more about Contributing to the wiki.


Please note that all contributions to maemo.org wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see maemo.org wiki:Copyrights for details). Do not submit copyrighted work without permission!


Cancel | Editing help (opens in new window)

Templates used on this page: