-
Senior Member
registered user
Poor man's install, with extra storage, on NTFS/Win7
Here is a short account of my (rather trivial) procedure for running Knoppix off an unmodified NTFS partition, with extra storage.
In case partitions can't be shrinked or deleted, this is a non-invasive way of adapting the PC to Linux. I have just used it on a new Toshiba Satellite R830, w/640GB disk.
1. Boot from USB. (In this case, external SSD-disk on USB3, very fast)
2. Copy KNOPPIX over to main NTFS partition.
3. Setup a new, large image file on the NTFS partition with ext4, mount it as /store.
4. Copy over /store from backup to the new "partition".
Here's what I did run:
Code:
# fdisk -l
Device Boot Start End Blocks Id System
/dev/sda1 * 1 192 1536000 27 Unknown
/dev/sda2 192 76169 610284544 7 HPFS/NTFS
/dev/sda3 76169 77826 13309952 17 Hidden HPFS/NTFS
# mount /media/sda2
# rsync -ax /mnt-system/KNOPPIX /media/sda2 &
# dd if=/dev/zero of=/media/sda2/store.img bs=1M count=60000 &
60000+0 records in
60000+0 records out
62914560000 bytes (63 GB) copied, 682.558 s, 92.2 MB/s
# losetup /dev/loop6 /media/sda2/store.img
# mkfs.ext4 /dev/loop6
# losetup -d /dev/loop6
# mkdir /store
# mount -o loop=/dev/loop6 /media/sda2/store.img /store
# mount /media/sdb2
# rsync -ax /media/sdb2/local/ /store &
All the indirection is of course not optimal, but with a Sandy Bridge I5-2410, I think I can live with it. Here's a snapshot of top while copying the files
Code:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
5071 root 20 0 2668 1184 664 S 22 0.0 14:26.44 mount.ntfs
21056 root 20 0 7668 4704 840 R 19 0.1 2:20.18 rsync
21058 root 20 0 19144 1916 620 R 19 0.0 2:21.09 rsync
After starting from HD, I can manually mount this new image file, or I can add the commands to rc.local.
This /store can be used also for remastering, but to be as failsafe as possible, I would recommend repeating the procedure for another similar image for that purpose. Maybe I'll come back with a detailed exposition of remastering on "foreign land" like NTFS.
Normally, it should be enough just to enter knoppix{64} and the usual boot options to run from NTFS - that image should be found first and used. But, of course, using the fromhd=/dev/sda2 makes it even more foolproof.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Dell PowerEdge R640 Server | 2x Gold 6132 28 Cores | H730p | Choose RAM / DRIVES
$2630.00
SanDisk 2TB Ultra 3D NAND SSD, Internal Solid State Drive - SDSSDH3-2T00-G26
$117.99
WD 500GB My Passport SSD, Portable External Solid State Drive WDBAGF5000ARD-WESN
$59.99
SanDisk 480GB SSD Plus, Internal Solid State Drive - SDSSDA-480G-G26
$49.99
Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot
$14.99
Intel DC S3510 Series 120GB SSD 2.5" 6Gb/s SATA Solid State Drive SSDSC2BB120G6K
$8.99
Micron 5100 MAX 120GB SATA 6Gb/s 2.5" Internal SSD MTFDDAK120TCC Solid State
$8.99
Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot
$13.99
Fanxiang SSD 512GB 1TB 2TB 4TB 2.5'' SSD SATA III Internal Solid State Drive lot
$198.99
Fanxiang 256GB 512GB 1TB 2TB 4TB Internal SSD 2.5" SATA III 6GB/s for PC/MAC Lot
$188.09