Results 1 to 10 of 29

Thread: Re-master your flash installation

Hybrid View

  1. #1
    Senior Member
    Join Date
    Jan 2011
    Posts
    242
    dinosoep wonders ...

    is there a way to not break anything while still copying to a ntfs filesystem?
    Well, yes there is. Have you noticed how Knoppix uses (compressed) loop devices a lot ? You can think of these as filesystems-in-a-file instead of filesystems-on-a-partition. You can use the same trick to create an Linux file system on an ntfs partition.

    There are four steps:

    1. Mount your ntfs partition under Knoppix (if not already mounted). That will probably be something like:

    Code:
    mount /media/sda1
    2. Create a large file on it. How big depends but for remastering the Knoppix CD let's guess 4 Gb is enough. You need something like:

    Code:
    dd bs=4K count=1M if=/dev/zero of=/media/sda1/big.one
    3. Create a file system in the big file:

    Code:
    mkfs -t ext3 -F /media/sda1/temp/big.one
    4. Mount the file as a loop back device:

    Code:
    mount -o loop /media/sda1/temp/big.one /lots_of_free_space
    You may need to sudo one or more of the commands and, of course, adapt the parameters to your particular situation. The mkfs command takes many parameters and some may be more useful in this situation than others.

  2. #2
    Administrator Site Admin-
    Join Date
    Apr 2003
    Location
    USA
    Posts
    5,441
    Quote Originally Posted by Forester View Post
    Well, yes there is. Have you noticed how Knoppix uses (compressed) loop devices a lot ? You can think of these as filesystems-in-a-file instead of filesystems-on-a-partition....
    As a moderator, I passed the above post, as it is not spam and on topic.

    However, as a user and someone who has been on this site for nearly 8 years and seen over and over again the reports of disaster after writing to NTFS, I couldn't just pass it and not warn others that it is not a universal opinion. Yea, you can create a file system within another file system under Linux. But to do so you still need to write to the physical file system. Not just to create it but during all of the writing processes. I know of no reason to think that this is safer than just writing to NTFS (which is unfortunately still not safe).

    If you want another file system on your hard disk consider shrinking the main partition, or use that "back up" partition that the vendor wasted disk space to create (after making a backup disc), and create a second Linux or FAT partition there, or even just add another inexpensive hard disk. An extra partition can be a Linux partition or a FAT partition (A FAT partition will be subjected to the 4GB-1 file size but lets you transfer files easily between Windows and Linux). But if you write to a NTFS partition, have very good backups of everything and keep making backups, the effects of corruption are often not noticed for some time after the damage is done.
    ---
    Verifying of md5 checksum and burning a CD at slow speed are important.

  3. #3
    Senior Member registered user
    Join Date
    Dec 2009
    Posts
    423
    Quote Originally Posted by Harry Kuhman View Post
    However, as a user and someone who has been on this site for nearly 8 years and seen over and over again the reports of disaster after writing to NTFS, I couldn't just pass it and not warn others that it is not a universal opinion. Yea, you can create a file system within another file system under Linux. But to do so you still need to write to the physical file system. Not just to create it but during all of the writing processes. I know of no reason to think that this is safer than just writing to NTFS (which is unfortunately still not safe).
    This subject has been mentioned quite many times. 8 years of observation is quite a long time, especially in the world of IT. I am not sure how extensive your observation is substantiated with facts, as software version changes, some bad experience in the past with bugged software may not be applicable to newer versions of software.

    The fact is over the recent years, the use of NTFS (for read and write access ) in Linux has got wide spread usage and penetration. If you look at embedded devices, quite many of them are Linux based, they read/write usb flashes and SATA harddisk. I came to know quite many of the media players are Linux based. I also know that Samsung TV is Linux-based too. These devices read/write on NTFS file system (and FAT32) !

    I cannot help but to think that read/write of NTFS on Linux has gotten to a usable degree of safety - if one does not use those fancy features of NTFS. But if indeed your observation - substantiated with facts - does indicate that NTFS writing is still unsafe, perhaps it is a problem unique to Knoppix ? I am wondering ......

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Electric Vacuum Cleaner Air Duster Suction High Pressure for Computer Car Home picture

Electric Vacuum Cleaner Air Duster Suction High Pressure for Computer Car Home

$9.97



Cordless Wireless Air Blower Handheld Vacuum Cleaner Strong Suction Car Home picture

Cordless Wireless Air Blower Handheld Vacuum Cleaner Strong Suction Car Home

$24.98



KLIM Cool Laptop Cooler Fan, Portable Quiet Cooling Vacuum w/Display - BLUE LED picture

KLIM Cool Laptop Cooler Fan, Portable Quiet Cooling Vacuum w/Display - BLUE LED

$15.95



Electric Mini Air Duster Blower Vacuum Cleaner for PC Computer Laptop Dust picture

Electric Mini Air Duster Blower Vacuum Cleaner for PC Computer Laptop Dust

$29.40



Mini Computer Vacuum USB Keyboard Cleaner PC Laptop Brush Dust Cleaning Kit US picture

Mini Computer Vacuum USB Keyboard Cleaner PC Laptop Brush Dust Cleaning Kit US

$12.19



Mini USB Keyboard Vacuum Cleaner PC Laptop Computer Brush Dust Cleaning Kit picture

Mini USB Keyboard Vacuum Cleaner PC Laptop Computer Brush Dust Cleaning Kit

$2.99



Portable Electric Air Duster Vacuum Rechargeable Cleaner for Laptop PC Keyboard picture

Portable Electric Air Duster Vacuum Rechargeable Cleaner for Laptop PC Keyboard

$12.44



Compressed Air Duster with Air Blower 100000RPM Vacuum Cleaner and Air Duster picture

Compressed Air Duster with Air Blower 100000RPM Vacuum Cleaner and Air Duster

$38.99



Powerful Car Vacuum Cleaner Wet Dry Cordless Strong Suction Handheld Cleaning picture

Powerful Car Vacuum Cleaner Wet Dry Cordless Strong Suction Handheld Cleaning

$35.99



Duster Cleaner Blower & Vacuum Rechargeable OBO picture

Duster Cleaner Blower & Vacuum Rechargeable OBO

$79.99