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
  •  


Fanxiang 1/2/5/10Pcs 2.5'' SATA SSD Lot 1TB 2TB 4TB 512GB 256GB TLC Internal SSD picture

Fanxiang 1/2/5/10Pcs 2.5'' SATA SSD Lot 1TB 2TB 4TB 512GB 256GB TLC Internal SSD

$739.99



ON SALE TURBOLINK EVO  4TB V-HAND SSD 2.5 SATA III Internal Solid State Drive picture

ON SALE TURBOLINK EVO 4TB V-HAND SSD 2.5 SATA III Internal Solid State Drive

$199.99



Samsung 860 EVO 250GB SSD MZ-76E250 2.5

Samsung 860 EVO 250GB SSD MZ-76E250 2.5" SATA III Solid State Drive -

$36.99



Western Digital Blue 3D NAND 250GB 2.5

Western Digital Blue 3D NAND 250GB 2.5" SATA III Internal SSD - WDS250G2B0A

$29.99



Netac 1TB 512GB 256GB Internal SSD 2.5inch SATA Solid State Drive lot PC Laptop picture

Netac 1TB 512GB 256GB Internal SSD 2.5inch SATA Solid State Drive lot PC Laptop

$1790.00



SAMSUNG SSD 512GB 500GB 480GB 256GB 250GB 240GB SSD 2.5 Solide State Drive 6Gbps picture

SAMSUNG SSD 512GB 500GB 480GB 256GB 250GB 240GB SSD 2.5 Solide State Drive 6Gbps

$40.99



256GB mSATA SSD DRIVE  MIXED BRAND TESTED WORKING picture

256GB mSATA SSD DRIVE MIXED BRAND TESTED WORKING

$23.50



SAMSUNG SSD 860 EVO 1TB 960GB 512GB 500GB 480GB 250GB 2.5 6Gbps picture

SAMSUNG SSD 860 EVO 1TB 960GB 512GB 500GB 480GB 250GB 2.5 6Gbps

$125.00



Netac 120GB 256GB 1TB 2TB Internal SSD 2.5'' SATAIII 6Gb/s Solid State Drive lot picture

Netac 120GB 256GB 1TB 2TB Internal SSD 2.5'' SATAIII 6Gb/s Solid State Drive lot

$119.99



Samsung 860 EVO 2TB 2.5

Samsung 860 EVO 2TB 2.5" SATA III 3D NAND SSD MZ-76E2T0 95%-100% Health

$207.00