Page 3 of 3 FirstFirst 123
Results 21 to 26 of 26

Thread: improper shutdown - root unionfs and power off

  1. #21
    Senior Member registered user
    Join Date
    Dec 2009
    Posts
    423
    I think I will wait for a while before I do further posts. As I was thinking about it, since I tested everything using knoppix 6.2 as the base, maybe in 6.2.1 or 6.3 these have been changed. Then I was probably shooting in the air then.

    Unless someone could post the minirt.gz and /etc/init.d/knoppix-halt for 6.3 in this forum then at least I could confirm it .....

  2. #22
    Senior Member registered user
    Join Date
    Dec 2009
    Posts
    423
    More.

    As it's not just a matter of pure script changes, it includes a static version of /sbin/init inside minirt.gz, I tried to upload my fixes here, which contains of 3 files, minirt.gz, /etc/init.d/knoppix-halt and /etc/init.d/knoppix-halt.actual ( all in it's slightly more than 1 MB ), unfortunately the forum limits the maximum file size which I could post here. And therefore I have to abort the idea of putting forward the fix here.

    In any case, I am pretty contended with my changes, as it allows me to cleanly shutdown and umount everything, including umounting /KNOPPIX-DATA, /UNIONFS, /KNOPPIX and /mnt-system. Yes, ***EVERY*** single file system is cleanly detached before the system is put to power off or reboot. Hibernating knoppix is almost unnecessary, as knoppix boots up pretty fast, more so if knoppix-data.img resides on hard disk.

  3. #23
    Moderator Moderator
    Join Date
    Jan 2010
    Location
    Asheville, NC, USA
    Posts
    528
    Quote Originally Posted by kl522 View Post
    More.

    As it's not just a matter of pure script changes, it includes a static version of /sbin/init inside minirt.gz, I tried to upload my fixes here, which contains of 3 files, minirt.gz, /etc/init.d/knoppix-halt and /etc/init.d/knoppix-halt.actual ( all in it's slightly more than 1 MB ), unfortunately the forum limits the maximum file size which I could post here. And therefore I have to abort the idea of putting forward the fix here.
    I suggest creating a google.com account for the purpose and using the relatively new "upload any document" feature to post files on the web. Once you share them with the world you can get the URL and post THAT on the forum (which would be most appreciated.)

    Krishna

  4. #24
    Senior Member registered user
    Join Date
    Dec 2009
    Posts
    423
    OK here is the links :-

    http://docs.google.com/leaf?id=0B2_e...YWZlNGUy&hl=en
    http://docs.google.com/leaf?id=0B2_e...NjNiMzk5&hl=en
    http://docs.google.com/leaf?id=0B2_e...ODI0NTli&hl=en

    The file 'minirt.gz' will have to go the replace the existing minirt.gz.
    The file 'knoppix-halt' will also go to replace the existing /etc/init.d/knoppix-halt
    The file 'knoppix-halt.actual' is a new file to reside in /etc/init.d, but make sure it has execution permission for root,
    ie chmod u+rx /etc/init.d/knoppix-halt.actual.

    Everyone can use the software but there is no warranty whatsoever. Certainly I am not responsible for whatever data loss or corruption it might cause. Nevertheless, if you have difficulties, you can also post here for community-based support.

    For whatever reason if you don't trust the binaries included, you can also compile it yourselves and still use the scripts included.

  5. #25
    Senior Member registered user
    Join Date
    Dec 2009
    Posts
    423
    Please use this for knoppix-halt.actual as I found that the remnant of debugging code was still there :-

    http://docs.google.com/leaf?id=0B2_e...NjNiMzk5&hl=en

  6. #26
    Senior Member registered user
    Join Date
    Dec 2009
    Posts
    423
    Sorry I make big blunder, the GUI is confusing me

    http://docs.google.com/leaf?id=0B2_e...ut=list&num=50

    Whatever it is, inside the script, the line '/bin.static/busybox sh' below the line '#debug' should be commented.

Page 3 of 3 FirstFirst 123

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


NETGEAR ProSafe 5-port Gigabit Switch GS105v5 picture

NETGEAR ProSafe 5-port Gigabit Switch GS105v5

$9.99



Cisco Catalyst 2960-48TT-L 48-Port Fast Ethernet Managed Rackmount Switch picture

Cisco Catalyst 2960-48TT-L 48-Port Fast Ethernet Managed Rackmount Switch

$46.99



TP-Link 5-Port Gigabit Unmanaged Ethernet Switch Network Expansion TL-SG105 picture

TP-Link 5-Port Gigabit Unmanaged Ethernet Switch Network Expansion TL-SG105

$19.95



5Ports Gigabit Network Switch w/ 4 PoE+ Ports Total 52W each port 30W Plug&Play picture

5Ports Gigabit Network Switch w/ 4 PoE+ Ports Total 52W each port 30W Plug&Play

$31.99



TP-Link TL-SG2210P 10-Port Gigabit Smart Switch w/ 8-Port PoE+ NO AC SKU 25597 picture

TP-Link TL-SG2210P 10-Port Gigabit Smart Switch w/ 8-Port PoE+ NO AC SKU 25597

$39.99



TP-Link TL-SG105 5-Port Gigabit Ethernet Unmanaged Metal Desktop Network Switch picture

TP-Link TL-SG105 5-Port Gigabit Ethernet Unmanaged Metal Desktop Network Switch

$22.49



Linksys 8-Port Managed Gigabit PoE+ Switch 110W w/ 2 Uplink Gigabit - LGS310MPC picture

Linksys 8-Port Managed Gigabit PoE+ Switch 110W w/ 2 Uplink Gigabit - LGS310MPC

$49.00



10-Port Gigabit PoE Network Switch with 8 PoE+ Ports with 2 Combo SFP Slots 125W picture

10-Port Gigabit PoE Network Switch with 8 PoE+ Ports with 2 Combo SFP Slots 125W

$69.99



NETGEAR 5-Port Gigabit Ethernet Unmanaged Switch (Gs305) - Desktop Quiet Fanless picture

NETGEAR 5-Port Gigabit Ethernet Unmanaged Switch (Gs305) - Desktop Quiet Fanless

$22.00



SEALED TP Link Network TL SG108 8Port Switch 1000Mbps RJ45 Desktop Switch NEW picture

SEALED TP Link Network TL SG108 8Port Switch 1000Mbps RJ45 Desktop Switch NEW

$14.00