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
  •  


Dell PowerEdge R620 2x Xeon E5-2630 v2 3.1GHz 2.5

Dell PowerEdge R620 2x Xeon E5-2630 v2 3.1GHz 2.5" 4-BAY 32GB RAM No OS 2x 495w

$174.95



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 Poweredge R720 8SFF 2.5

Dell Poweredge R720 8SFF 2.5" 2x Xeon E5-2680 v2 2.8GHz 20-Cores 64gb 4x Trays

$259.99



Dell PowerEdge R710 Server 2x Xeon E5620 2.4GHz 96GB DDR3 Rackmount picture

Dell PowerEdge R710 Server 2x Xeon E5620 2.4GHz 96GB DDR3 Rackmount

$139.99



Dell Poweredge R720 8SFF 2.5

Dell Poweredge R720 8SFF 2.5" x Xeon E5-2680 v2 2.8GHz 20-Cores 128gb 4x Trays

$349.99



Dell Poweredge R630 2x Xeon E5-2680 v4 2.4ghz 28-Core | 32GB | HBA330 | 2x 1100w picture

Dell Poweredge R630 2x Xeon E5-2680 v4 2.4ghz 28-Core | 32GB | HBA330 | 2x 1100w

$359.99



Dell PowerEdge R640  8xSFF Server Barebone 2 x Heat Sink w / 2x 1100W PSU picture

Dell PowerEdge R640 8xSFF Server Barebone 2 x Heat Sink w / 2x 1100W PSU

$315.00



Dell PowerEdge R730XD 24B Barebones 2x Heatsinks 2x PSU No CPU/RAM/Raid/Nic picture

Dell PowerEdge R730XD 24B Barebones 2x Heatsinks 2x PSU No CPU/RAM/Raid/Nic

$149.99



Dell R640 Diskless Servers 2x Gold 18-Cores 6254 3.10GHz CPU, 32gb RAM, No Raid picture

Dell R640 Diskless Servers 2x Gold 18-Cores 6254 3.10GHz CPU, 32gb RAM, No Raid

$699.00



Dell PowerEdge R530 2x E5-2630v4 H330 iDRAC8 Port Card Riser No PSU/RAM/HDD picture

Dell PowerEdge R530 2x E5-2630v4 H330 iDRAC8 Port Card Riser No PSU/RAM/HDD

$99.99