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
  •  


Intel Xeon E5-2699 V4 2.20GHz 55M 22-CORES LGA2011-3 Server Processor 145W SR2JS picture

Intel Xeon E5-2699 V4 2.20GHz 55M 22-CORES LGA2011-3 Server Processor 145W SR2JS

$84.49



Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram  2x 550W PSU No HDD picture

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD

$275.00



Dell Precision T5820 Workstation 3.70GHz W-2135 No RAM/ GPU/ HDD/ OS picture

Dell Precision T5820 Workstation 3.70GHz W-2135 No RAM/ GPU/ HDD/ OS

$179.98



Intel Xeon Processor E5-2687W V4 SR2NA 3.00GHz Broadwell 160W LGA2011 12-Core picture

Intel Xeon Processor E5-2687W V4 SR2NA 3.00GHz Broadwell 160W LGA2011 12-Core

$36.00



Intel Xeon Gold 6230 2.1 GHz Processor - SRF8W picture

Intel Xeon Gold 6230 2.1 GHz Processor - SRF8W

$29.00



Matched Pair _ Intel Xeon E5-2698 V4 2.2GHz 20-Core Processor CPU LGA2011 SR2JW picture

Matched Pair _ Intel Xeon E5-2698 V4 2.2GHz 20-Core Processor CPU LGA2011 SR2JW

$94.99



Lenovo ThinkStation P520 Intel Xeon W-2123 3.6GHz 900W - NO RAM/ GPU/ HDD/ OS picture

Lenovo ThinkStation P520 Intel Xeon W-2123 3.6GHz 900W - NO RAM/ GPU/ HDD/ OS

$189.98



Intel Xeon E5-2680 V4 CPU 2.4~3.3GHz 14-Core 35M LGA 2011-3 R3 Server SR2N7 120W picture

Intel Xeon E5-2680 V4 CPU 2.4~3.3GHz 14-Core 35M LGA 2011-3 R3 Server SR2N7 120W

$16.99



Intel Xeon E5-2680 V2 2.8GHz 10-Core 25MB 8GT/s SR1A6 LGA2011 B Grade Server CPU picture

Intel Xeon E5-2680 V2 2.8GHz 10-Core 25MB 8GT/s SR1A6 LGA2011 B Grade Server CPU

$7.95



Dell PowerEdge R620 2x Xeon E5-2650 2GHz 32GB RAM 250GB SAS SERVER picture

Dell PowerEdge R620 2x Xeon E5-2650 2GHz 32GB RAM 250GB SAS SERVER

$85.00