|
2010-01-02
, 03:41
|
Posts: 23 |
Thanked: 3 times |
Joined on Dec 2009
@ Dublin, Ireland
|
#2
|
description "late rcS actions" start on started xomap stop on stopping bme console none script # Generate fstab and mount /home . /etc/default/mount-opts fstab=/etc/fstab tmp_fstab=/tmp/fstab sfdisk -l /dev/mmcblk0 | awk \ -v home_opts="$home_opts" -v fat_opts="$fat_opts" \ -f /usr/lib/genfstab.awk > $tmp_fstab cmp -s $tmp_fstab $fstab || cp $tmp_fstab $fstab rm -f $tmp_fstab /bin/mount /home || echo "Failed to mount /home partition." if [ ! -d /home/user ] then if [ -d /home/preinstalled ] then mv /home/preinstalled /home/user else mkdir /home/user fi cd /etc/skel cp -a . /home/user chown -R user:users /home/user fi # We can safely continue booting now. initctl emit MOUNTS_OK /sbin/swapon -a || echo "Failed to enable paging partition." # Setup lowmem module echo 32768 > /proc/sys/vm/lowmem_deny_watermark_pages echo 98304 > /proc/sys/vm/lowmem_notify_high_pages echo 131072 > /proc/sys/vm/lowmem_notify_low_pages echo 1024 > /proc/sys/vm/lowmem_nr_decay_pages # Exclude some UIDs from memory allocation denial. # 30000 is messagebus, 30001 could be used by Matchbox echo "30000 30001 30002 30003" > /proc/sys/vm/lowmem_allowed_uids # Adjust flushing of memory card buffers echo 40 > /proc/sys/vm/dirty_ratio echo 10 > /proc/sys/vm/dirty_background_ratio # Initialize PRNG pool with the HW RNG. Slow, but that's ok. URANDOM_POOLSZ=512 if [ -e /dev/hwrng ]; then echo "Seeding entropy pool" dd if=/dev/hwrng of=/dev/urandom bs=$URANDOM_POOLSZ count=1 fi end script normal exit 0
|
2010-01-02
, 03:55
|
Posts: 207 |
Thanked: 119 times |
Joined on Nov 2009
@ Pittsburgh, PA, USA
|
#3
|
It's been a long while since I was using Linux daily, but I remember that runlevel switching to singleuser mode was at boot time from LILO (usually to fix something). I don't know what bootloader Maemo uses but it's probably similar unless things have drastically changed.
Does the phone start at all or can you not reboot it? If you changed the runlevel in a running kernel, it's likely dropped you out of runlevel 3, which is what I think is normal multiuser mode, so no X, etc., .
The Following User Says Thank You to mikhmv For This Useful Post: | ||
|
2010-01-02
, 09:43
|
Posts: 543 |
Thanked: 181 times |
Joined on Aug 2009
@ Universe,LocalCluster.MilkyWay.Sol.Earth.Europe.Slovenia.Ljubljana
|
#5
|
The Following 2 Users Say Thank You to ruskie For This Useful Post: | ||
|
2010-01-02
, 16:40
|
Posts: 293 |
Thanked: 76 times |
Joined on Jan 2008
@ Fremantle, W. Australia
|
#6
|
You should be able to use flasher to pass a custom init="sed 'whateverline' file" to get it back.
The Following User Says Thank You to myk For This Useful Post: | ||
|
2010-01-02
, 17:33
|
Posts: 543 |
Thanked: 181 times |
Joined on Aug 2009
@ Universe,LocalCluster.MilkyWay.Sol.Earth.Europe.Slovenia.Ljubljana
|
#7
|
The Following User Says Thank You to ruskie For This Useful Post: | ||
|
2010-01-02
, 19:12
|
Posts: 2,152 |
Thanked: 1,490 times |
Joined on Jan 2006
@ Czech Republic
|
#8
|
Now when phone start to boot it is hang up and didn't boot completely. I would like to enter in analog of linux "init 1" mode but don't know how to do it.
The Following 4 Users Say Thank You to fanoush For This Useful Post: | ||
I little bit played with file "/etc/event.d/rcS-late".
Now my phone cannot be loaded. I exactly know which line with error, I exactly know how to fix error but I don't know how to modify this file.
Can anybody give advice how can i do it?
Now when phone start to boot it is hang up and didn't boot completely. I would like to enter in analog of linux "init 1" mode but don't know how to do it.