| |
| |
| |
|
Page: 1 2 3 4 5 6
Comments:
<0> ok <1> the default softbs (block size for copy operation) is 64k <0> I dont know how dd_rescue does it <1> I should have written "frequency of fsny calls on outfile" instead of "sync frequency". Does that make a difference? <1> fsync <0> no <2> when im trying to compare variable size, using ${#var}, its not working.. :( <3> -eq <0> tiGbx: if [ "${#var}" -eq "${#var2}" ]; <0> == is for strings, counter intuitively <2> im using -le <0> whats the line <2> var=20; until [ ${#var} -le 8 ] do blahblah <2> its not going into my do <3> huh? <4> huh yourself
<3> var=four;var2=five;[ ${#var} -eq ${#var2} ] && echo Yes <0> cause ${#var} == 2 <0> ${var} == 20 <0> ${#var} is the string length <2> oh crap <1> Idle247: wif you read the beginning of www.garloff.de/kurt/linux/ddrescue/, do you understand how it does it? <0> kinda busy <2> thanks yalls <1> Idle247: sorry for so many questions. <0> :P <1> But I feel that we are close to solve the issue :-) <0> you should not use conv= at all <0> if you want a raw raw raw copy <0> of course, noerror helps <1> did you access the link above? <0> no <1> may I please ask you to just read the beginning? <2> can you do and/or conditionals in bash? <0> tiGbx: yes <2> pipe? <0> if [ test ] || [ othertest ] <0> && as well <2> ahh double pipes <0> newbie77: looks like dd will work just fine <0> standard dd, to restore <2> oh, brackets around each section? <0> tiGbx: yes <0> as its 2 seperate instances of 'test' <0> I think 'test' may support internal ands <0> -a <0> and -o <0> if [ test -o othertest ] <0> man test <2> cool <1> Idle247: so you had a look at the website? (sorry for asking this, but the data is very important) <0> newbie77: keep that data file, and dd it to another disk... <0> or copy, then mount the 'image' <1> but did you read the beginning of that webpage about dd_rescue?? <5> hi.. is there any reason this wouldn't work: i have windows and want to test linux on a root partition .. i install and it works, so i delete the windows, move the root partition and create a swap and home and go on with life <0> YES <0> its just a raw copy, ffs <0> zoibergus: bootloader <0> reinstall it <5> but other than that i should be okay? <0> and depends how you move it <5> what do you mean? <1> Idle247: Thank you very very much!! <0> :) <6> :-) <0> zoibergus: if you just change the partition start, wont work <0> if you actually move the data, then it will <0> you cant just move a partition <5> if i use gparted or something? <5> or even partition magic? <0> I personally like cp -rp, since I can use unmatched sizes <0> no <0> partition magic wont move the data around <0> honestly, leave your root partition alone <0> use that now free space, or 'windows' partition, and just make that a new /home, or similar <0> or make a lvs, to combine it with an existing drive
<1> can cp copy partitions too? <0> not really <5> how big should i make my root partition? like 5 gigs? <0> should be enough, yes <0> depending tho <5> just for a simple laptop .. only planning on having root swap and /home <0> if you start filling it with a complete install, youll have issues <1> when you say "not really", does that mean "no", or "usually no, but sometimes maybe yes"? (please understand that I learned English late :-) <0> I generally just do a /, no swap, just a swapfile <7> whats a swap file? <0> newbie77: I mean, it can copy the data, if your very careful <0> but, generally, no, dont do it, ever <1> thanks <0> Waterman: use a swap file, instead of a partition <5> Idle247 is there any performance difference? <0> like, /swapfile, then add it to fsta <0> b <0> zoibergus: I dont see any <0> rarely do you ever touch swap <5> oh so there's really no point to it then <7> Idle247, which means u dont have to create a swap partition you can use swap space that is created on / for example? <0> 15:31:47 up 374 days, 15:45, 1 user, load average: 0.13, 0.03, 0.01 <0> woooohooo <0> Waterman: which also allows you to change the size :D <7> hm <7> how do you create that? <0> dd if=/dev/zero of=/swapfile <0> mkswap /swapfile <0> swapon /swapfile <7> nice <0> add it to fstab <7> thx <5> interesting <7> i know <7> :) <5> adds a lot of flexibility <7> 257 mb <7> :D <7> enough <6> :) <7> so its reserved space for swap <7> it i understand <7> just like partition <7> empty space that is located on / <7> if* <0> :D <7> ? <0> yea <7> nice.. <0> I hate seetting aside space for anything <7> me too <7> this is good <7> it works <7> /swapfile swap swap defaults 0 0 <7> itd my fstab line , looks fine? <0> yea <7> nice :) <7> i have 1 gb of ram <7> 256mb swap should be enough <7> :D <7> 245* <8> Waterman i'd set the same amount <7> :D <7> hehe <6> :o) <7> this is good <8> in the good old days it was 2.5 times your core <0> I use 19mb swap, on 160mb ram <7> yes <7> 19? <0> yea <7> as far as i remember using red hat 6.0 <0> its been running for over a year <7> 32mb ram -> 64 mb swap
Return to
#linuxhelp or Go to some related
logs:
#computers #politics ubuntu eaglectrl unknown option #stocks make a friend feel okay #politics #eggtcl #nintendo openwrt availa pci #flash
|
|