You are not logged in.
Pages: 1
As most of you guys know, it is possible to make a Windows USB-stick for booting, by formatting it as an NTFS-partition and copying all files from the install-DVD to the stick.
Formatting it as an NTFS-partition wasn't a problem, but when i copied all files to the USB-stick (in KDE) it didn't copy all files. I missed about 100 files, even though KDE said copying files completed.
I tought the USB-stick was damaged, so i tried 2 other sticks , but they gave the same result. I also tried it in 'konsole' copying all files by hand, but same result.
I searched in logs, but didn't find anything strange... dmesg didn't give read or write-failures on the stick.
I am clueless.
Suggestions anyone?
Cheerz
Mobo: Asus P8H77-I :: CPU: Intel(R) Core(TM) i5-3450 CPU @ 3.10GHz :: Memory: Corsair 8GB DDR3 :: SSD: 128GB Samsung 830 Series :: HDD: 1TB Samsung :: Video: GeForce GTX 650 Ti
Offline
As most of you guys know ...
Nope, I didn't know that. And after checking, it does not seem true. You need to install the boot code too - allegedly a windows CD has a "BOOTSECT.EXE" for this purpose.
This is, however, quite clearly not an archlinux issue. You should ask on a Windows forum.
Closing.
EDIT: Reopened at OP's request. It seems this question has been covered on the microsoft.com domain, so (under the right conditions) it is certainly acceptable/legal. As the OP has had this work on other systems but can't on arch, it may be appropriate here.
Last edited by Trilby (2014-08-25 17:29:40)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Thank you for reopening my post Trilby.
I hope someone has also tried this and found a solution to this problem.
Cheerz,
Ixium
Mobo: Asus P8H77-I :: CPU: Intel(R) Core(TM) i5-3450 CPU @ 3.10GHz :: Memory: Corsair 8GB DDR3 :: SSD: 128GB Samsung 830 Series :: HDD: 1TB Samsung :: Video: GeForce GTX 650 Ti
Offline
So when you try to copy one of the 100 problem files (and I mean using cp in a terminal) what exactly happens?
Offline
I didn't use cp... have to try that... I always use midnight commander for copying a lot of files. ~3000 files
But Midnight Commander completes the copy-command and KDE also completes.
but when look at the details of the usb-drive it only shows ~2800 files, so a lot of files are missing, and there is no copy-error.
Mobo: Asus P8H77-I :: CPU: Intel(R) Core(TM) i5-3450 CPU @ 3.10GHz :: Memory: Corsair 8GB DDR3 :: SSD: 128GB Samsung 830 Series :: HDD: 1TB Samsung :: Video: GeForce GTX 650 Ti
Offline
Try using rsync to copy the files. Copying large hierarchies of files while preserving various properties is what it is designed to do. If you are really uncomfortable with the command line, then use grsync which is a GUI interface to rsync.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
I am comfortable with cli, so that won't be much of a problem.
I thought rsync is only for TCP/UDP operations and not local.
I will try that. Thanx.
Mobo: Asus P8H77-I :: CPU: Intel(R) Core(TM) i5-3450 CPU @ 3.10GHz :: Memory: Corsair 8GB DDR3 :: SSD: 128GB Samsung 830 Series :: HDD: 1TB Samsung :: Video: GeForce GTX 650 Ti
Offline
I didn't use cp... have to try that... I always use midnight commander for copying a lot of files. ~3000 files
Sure, but you said there were only 100 that didn't copy. Seems logical to me to try copying one or more of them manually and check for error output.
Offline
problem is: 'what are the files that aren't copied?' is there a tool to compare the two trees?
Mobo: Asus P8H77-I :: CPU: Intel(R) Core(TM) i5-3450 CPU @ 3.10GHz :: Memory: Corsair 8GB DDR3 :: SSD: 128GB Samsung 830 Series :: HDD: 1TB Samsung :: Video: GeForce GTX 650 Ti
Offline
diff -r.
$ mkdir one
$ mkdir two
$ touch one/alpha
$ touch one/beta
$ cp one/* two/
$ touch one/gamma
$ diff -r one two
Only in one: gamma
Also, in rysnc's first step, it will compare the two locations and can be instructed to just output the list that still needs to be synced. I don't know the flags to use for that off the top of my head, but the man page has it all. Of course the man page for rsync is quite extensive as it is a very versatile tool. Diff is much simpler for the immediate question of which files differ.
EDIT: note, I needed to go back and add '-r' to diff for this to be practical for your case. Without -r (recursive) it will only check the top level of each of the directories which would likely not see the differences.
Last edited by Trilby (2014-08-25 20:45:52)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
oke thanx... will try that too.
It's almost 11 PM here, will try that tomorrow
Mobo: Asus P8H77-I :: CPU: Intel(R) Core(TM) i5-3450 CPU @ 3.10GHz :: Memory: Corsair 8GB DDR3 :: SSD: 128GB Samsung 830 Series :: HDD: 1TB Samsung :: Video: GeForce GTX 650 Ti
Offline
Offline
Pages: 1