Results 1 to 9 of 9

Thread: Losing data on hard disk when turn off computer

  1. #1
    Junior Member
    Join Date
    Feb 2005
    Posts
    4

    Losing data on hard disk when turn off computer

    I use Knoppix Live CD for operation system. My problem : I lose everything saved to hard disk after turning off the computer. What causes this data losing? How can I save file to the hard disk and not lose it when I shut down the computer?

  2. #2
    Senior Member registered user
    Join Date
    Oct 2004
    Location
    london town
    Posts
    220
    are you running from the cd?(no hd install of knoppix) if so then you will lose all data that was created while in knoppix because knoppix uses the ram it does not actuly save anything to the hd.

  3. #3
    Senior Member registered user
    Join Date
    Dec 2003
    Location
    Salt Lake City, UT, U.S.A.
    Posts
    1,338

    Re: Losing data on hard disk when turn off computer

    Quote Originally Posted by Mr.Jack
    I use Knoppix Live CD for operation system. My problem : I lose everything saved to hard disk after turning off the computer. What causes this data losing? How can I save file to the hard disk and not lose it when I shut down the computer?
    As pureone stated, running off the Live-CD, will evaporate everything that is contained in the OS, and data settings, upon reboot, or shutdown.

    The solution is to hard drive install, which you will need a spare partition for Linux to use, and boot off of. OR, if you have a spare FAT partition, where you can place a file, that Knoppix will store your "personal home" and all your settings, then, you can use "Save / Create a Persistant Home". Lastly, this being the lesser of all these, with limtations of what is saved, and you have a FAT formated drive, either hard drive, floppy, or USB stick device, you can use "Save Configuration".

    You should be able to find the last two options on the menu, under the "Knoppix" section...

    To use these "saved" locations, when you boot the Live CD, you would just enter one of the following, depending on which option you choose, on your boot: prompt:

    For a saved Persistant Home:
    boot: [your normal commands - plus] home=scan [or you can put the physical device on the command line ... like home=/dev/hda1 ]

    For a saved "Save Configuration:
    boot: [your normal commands - plus] myconfig=scan [or you can also put the physical device on the command line - like myconfig=/dev/hdc1 ]

    The hard drive install would be like running and booting Windows, no more command lines on the boot: prompt, as for the last two options, you do need to tell the Live CD that you have something saved, and to use it, but, it does allow you to boot a CD OS and still retian stuff, on reboots and cold boots.

    Hope this helps, a little,
    Ms. Cuddles

  4. #4
    Member registered user
    Join Date
    Oct 2004
    Location
    Tokyo
    Posts
    43
    Hi All,

    does using a persisitent home directory save all emails/fileters/settings etc, as I spent some time last night, thinking save knoppix configuration would do so..ouch..cheers.

    EDIT: Okay, I've created a persisitent home directory image on hda1, but, need to know, do I have to save repeatedly, manually or, does the OS do it auto at shutdown..? Cheers, again.

    downdogWoof...

  5. #5
    Member registered user
    Join Date
    Oct 2004
    Location
    Tokyo
    Posts
    43
    Hi All,

    the message displayed after the image has been created for persistent home dir, is a little vague. Do I "have" to reboot immediately, to take advantage, or, does it initiate from the moment it's created.? Rather confusing; a newbie could perhaps, if it doesn't initiate immediately, think it does, and start doing stuff, thinking their data etc is being saved, when it isn't. I've been rebooting immediately, just in case. Do I need to..? Cheers.

    downdogWoof...

  6. #6
    Member registered user
    Join Date
    Oct 2004
    Location
    Tokyo
    Posts
    43
    Hi All,

    hello, anyone out there..? Cheers.

    downdogWoof...

  7. #7
    Junior Member
    Join Date
    Feb 2005
    Location
    Brussel belgium
    Posts
    4

    Re: Losing data on hard disk when turn off computer

    Quote Originally Posted by Cuddles

    The solution is to hard drive install, which you will need a spare partition for Linux to use, and boot off of. OR, if you have a spare FAT partition, where you can place a file, that Knoppix will store your "personal home" and all your settings, then, you can use "Save / Create a Persistant Home". Lastly, this being the lesser of all these, with limtations of what is saved, and you have a FAT formated drive, either hard drive, floppy, or USB stick device, you can use "Save Configuration".
    do you have to run a command to saves everything to the knoppix.img file , like saving the config file ? cause i did al this and am not able to restore the home files

  8. #8
    Senior Member registered user
    Join Date
    May 2003
    Posts
    981
    Quote Originally Posted by downdogWoof
    Hi All,

    does using a persisitent home directory save all emails/fileters/settings etc, as I spent some time last night, thinking save knoppix configuration would do so..ouch..cheers.

    EDIT: Okay, I've created a persisitent home directory image on hda1, but, need to know, do I have to save repeatedly, manually or, does the OS do it auto at shutdown..? Cheers, again.

    downdogWoof...
    After creating a persistent home when you boot with 'knoppix home=scan' or home=/dev/hdwherever it is', you should not have to do anything to save the stuff in your /home directory; knoppix should be running using the persistent home as /home instead of ram.
    Test it a bit. make a test file /home/knoppix/test with kwrite or something, save it then shut down. When you reboot it should be there.

  9. #9
    Junior Member
    Join Date
    Feb 2005
    Location
    Brussel belgium
    Posts
    4
    still doesn't work ,

    getting these messges at boot when i boot with home=scan or home=dev/hda5/knoppix.img
    i also checked and the img file is on the hard disk...

    -WARNING: FAT32 is not a good filesystem option for /home/knoppix (missing/symlink support)
    -WARNING: Better use an ext2 loopbackfile and boot with home=/dev/hda5/knoppix.img

Similar Threads

  1. Built new computer and Live disk won't load
    By coffey7 in forum Hardware & Booting
    Replies: 30
    Last Post: 10-12-2007, 11:49 AM
  2. help using knoppix 3.2 to retrieve data from hard drive
    By adamj in forum Hardware & Booting
    Replies: 1
    Last Post: 04-06-2007, 10:47 PM
  3. help getting data off of a hard drive...
    By thebyrd in forum General Support
    Replies: 6
    Last Post: 12-09-2004, 10:18 AM
  4. Replies: 3
    Last Post: 11-20-2003, 04:39 AM
  5. turn on hard drive dma at boot
    By m_yates in forum Hdd Install / Debian / Apt
    Replies: 4
    Last Post: 10-26-2003, 05:47 PM

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 R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x900Gb SAS, Proxmox picture

Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x900Gb SAS, Proxmox

$340.00



Dell PowerEdge R620 Server 2x E5-2660 v1 2.2GHz 16 Cores 256GB RAM 2x 300GB HDD picture

Dell PowerEdge R620 Server 2x E5-2660 v1 2.2GHz 16 Cores 256GB RAM 2x 300GB HDD

$89.99



Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD picture

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD

$389.99



CTO Dell PowerEdge R630 Server, 2x Xeon E5-2620V4, 64GB- 512GB RAM, 480GB SSDs picture

CTO Dell PowerEdge R630 Server, 2x Xeon E5-2620V4, 64GB- 512GB RAM, 480GB SSDs

$246.67



Dell Poweredge XC730xd 3.5 2x E5-2690 v3 2.6ghz 64gb JBOD 12x Trays 2x1100w picture

Dell Poweredge XC730xd 3.5 2x E5-2690 v3 2.6ghz 64gb JBOD 12x Trays 2x1100w

$239.99



DELL POWEREDGE T430 SERVER W/ DUAL XEON E5-2609 CPU & 16GB MEMORY picture

DELL POWEREDGE T430 SERVER W/ DUAL XEON E5-2609 CPU & 16GB MEMORY

$329.00



Dell R730 8B LFF 2x 2.40GHz 14C Intel Xeon E5-2680 v4 32GB RAM 2x 3TB HDD HBA330 picture

Dell R730 8B LFF 2x 2.40GHz 14C Intel Xeon E5-2680 v4 32GB RAM 2x 3TB HDD HBA330

$299.99



Dell Poweredge R620 8-Bay CTO Pick your CPU & RAM Config | H710 Raid | 2x PSU picture

Dell Poweredge R620 8-Bay CTO Pick your CPU & RAM Config | H710 Raid | 2x PSU

$209.99



DELL PowerEdge R730 Server 2x E5-2680v4 2.4GHz =28 Cores 32GB H730 4xRJ45 picture

DELL PowerEdge R730 Server 2x E5-2680v4 2.4GHz =28 Cores 32GB H730 4xRJ45

$284.00



Dell Poweredge R640 8 SFF Server No HDDs/ CPUs/ RAMs/ Cards/Fan/PSU picture

Dell Poweredge R640 8 SFF Server No HDDs/ CPUs/ RAMs/ Cards/Fan/PSU

$419.99