Differences
This shows you the differences between the selected revision and the current version of the page.
howto:hdd_boot 2007/02/21 20:55 | howto:hdd_boot 2017/09/06 17:34 current | ||
---|---|---|---|
Line 7: | Line 7: | ||
===== Basic steps ===== | ===== Basic steps ===== | ||
- | - [[howto:serial_connector|Install a serial console]]. | + | - [[howto:serial_connector|Install a serial console]] or look up [[howto:loader_o|loader.o method]] for kernel loading. |
- | - Install [[howto:chroot_gentoo|Centoo chroot]] or a [[http://download.dsmg600.info/people/sala/debootstrap-0.3.3.1_uclibc_powerpc.tar.bz2|Debian chroot]] into sda3 root. | + | - Install [[howto:chroot_gentoo|Gentoo chroot]] or a [[howto:chroot_debian|Debian chroot]] into sda3 root. |
- | - Get [[ftp://ftp.dlink.com/GPL/DSMG-600_reB/ppclinux.tar.gz|Kernel source]]. | + | - Get [[http://download2.polytechnic.edu.na/pub4/sourceforge/o/project/project/of/officialdlinkfirmware/DSM-G600_reB/ppclinux.tar.gz|Kernel source]]. |
- Apply a kernel patch. After that your kernel is going to ignore U-Boot bootargs and you will be able to set a CONFIG_CMDLINE parameter.<code patch>--- arch/ppc/kernel/setup.c.orig 2005-04-11 05:50:07.000000000 +0300 | - Apply a kernel patch. After that your kernel is going to ignore U-Boot bootargs and you will be able to set a CONFIG_CMDLINE parameter.<code patch>--- arch/ppc/kernel/setup.c.orig 2005-04-11 05:50:07.000000000 +0300 | ||
+++ arch/ppc/kernel/setup.c 2007-02-17 16:06:16.000000000 +0200 | +++ arch/ppc/kernel/setup.c 2007-02-17 16:06:16.000000000 +0200 | ||
Line 34: | Line 34: | ||
# CONFIG_TULIP is not set</code>If you want to also enable reiserfs then you need to disable NFS for example to get more space. Remember that maximum U-Boot formated kernel size is 936KB! | # CONFIG_TULIP is not set</code>If you want to also enable reiserfs then you need to disable NFS for example to get more space. Remember that maximum U-Boot formated kernel size is 936KB! | ||
- [[howto:kernel_build|Guide for compiling kernel]]. | - [[howto:kernel_build|Guide for compiling kernel]]. | ||
- | - [[howto:kernel_upload|Guide for uploading new kernel]]. | + | - [[howto:kernel_upload|Guide for uploading new kernel]] or loading it with [[howto:loader_o|loader.o]]. |
===== Ramdisk tips ===== | ===== Ramdisk tips ===== | ||
By default you don't need to do nothing with ramdisk. Ramdisk will be loaded into memory as usual. | By default you don't need to do nothing with ramdisk. Ramdisk will be loaded into memory as usual. | ||
- | To go around this problem you can boot with ''bootm FFF10000'' U-Boot parameter which will only load a kernel image. | + | To go around this problem you can boot with ''bootm FFF10000'' U-Boot parameter which will only load a kernel image. Also it may be convenient to [[howto:kernel_upload|replace]] the RAMDisk image at 0xFFC20000 by an empty U-Boot image, like [[http://www.netbsd.org/ports/sandpoint/dummy.img.gz|this]] one (do not forget to uncompress it with gunzip(1)). |
- | + | ||
- | ===== Gentoo tips ===== | + | |
- | * Remember to set a root password! | + | |
- | * If you use 2005.0 stage then make sure that you update e2fsprogs first thing you get a access to emerge. | + | |
- | *If you can't get to the login then press ctrl+c right after /dev and sda3 is mounted. | + | |
- | * If your root file system is read-only then use ''mount -t ext3 -o rw,remount /dev/sda3 /'' to get write access. | + | |
===== Links ===== | ===== Links ===== | ||
- | [[http://forum.dsmg600.info/p1549-Yesterday-082958.html#p1549|Forum thread]] | + | [[http://dns323.kood.org/forum/p1549-Yesterday-082958.html#p1549|Forum thread]]\\ |
- | [[http://forum.dsmg600.info/p1583-Today-203135.html#p1583|loader.o method without flashing]] | + | [[http://dns323.kood.org/forum/p1583-Today-203135.html#p1583|loader.o method without flashing]] |