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
  •  


Fanxiang 4TB 2TB 1TB SSD 550MB/s 2.5'' SATA III Internal Solid State Drive lot picture

Fanxiang 4TB 2TB 1TB SSD 550MB/s 2.5'' SATA III Internal Solid State Drive lot

$219.99



Fanxiang SSD 4TB 2TB 1TB PS5 SSD M.2 NVME SSD 7300MBS PCIe 4.0 Solid State Drive picture

Fanxiang SSD 4TB 2TB 1TB PS5 SSD M.2 NVME SSD 7300MBS PCIe 4.0 Solid State Drive

$269.99



Fanxiang 4TB 2TB 1TB SSD 2.5'' SATA III 560MB/s Internal Solid State Drive lot picture

Fanxiang 4TB 2TB 1TB SSD 2.5'' SATA III 560MB/s Internal Solid State Drive lot

$188.09



Fanxiang M.2 SATA SSD 2TB 1TB 512GB 256GB SSD Internal M2 Solid State Drive Lot picture

Fanxiang M.2 SATA SSD 2TB 1TB 512GB 256GB SSD Internal M2 Solid State Drive Lot

$109.99



Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5

Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot

$15.50



1080PRO 4TB SSD Solid State Hard Drive Ngff M.2 SSD Gaming Internal Hard Disk picture

1080PRO 4TB SSD Solid State Hard Drive Ngff M.2 SSD Gaming Internal Hard Disk

$32.99



SAMSUNG 870 EVO 500GB 2.5

SAMSUNG 870 EVO 500GB 2.5" SATA SSD HARD DRIVE MZ-77E500 (99% Health)

$39.00



240GB 250GB 256GB SSD SATA 2.5

240GB 250GB 256GB SSD SATA 2.5" Solid State Drive MIXED BRAND APPLE LAPTOP

$13.99



Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot picture

Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot

$119.99



SSD 512GB 1/2/4TB 870 EVO SATA III SSD 2.5'' Solid State Drive Upgrade PC Laptop picture

SSD 512GB 1/2/4TB 870 EVO SATA III SSD 2.5'' Solid State Drive Upgrade PC Laptop

$89.99