Re: Cloning my laptop's HD over the network (LG T1 Express)
In reply to everyone and to end this long thread: Thank you. Mission completed. I ended up following Chaim advice and buying very cool usb2usb network connection cable, which if you continue reading will find out that was ultimately unnecessary. The story starts from the windows server side, which has the storage space. The supplied driver and software with the conceptronic usb data cable failed to work completely (not before blue screening the xp box). I turned to find a livecd which could boot with the usbnet kernel module, this turned out to be simplistic task every 2.4 has it. Then comes that issue of ntfs write, I decided not to take any chances and used the excellent gparted utility to resize my ntfs partition on hdb, creating new ext3 partition on the XP machine. This alone required booting into windows, doing a chkdsk /f d: and then rebooting the xp os (twice!!, for the ntfs logs). After the resizing is over comes the turn of the ftpd, I've searched the whole net for a livecd with ftp server on it, which turned nothing useful. I ended up using Ubuntu desktop 6.10 livecd mode, which allowed me do a .deb install into ram. I've downloaded http://il.archive.ubuntu.com/ubuntu/pool/main/v/vsftpd/vsftpd_2.0.4-0ubuntu5_i386.deb and had it transferred to the livecd os over the already working usb0 network interface. vsftpd required some modifications in /etc/vsftpd.conf to allow local user login and home path that would map to the newly mounted hdb2 ext3 partition. Progressing to the LG laptop side, I've loaded g4l 0.21. doing ifconfig -a shows there's a new usb0 network device. so far so good, time to load g4l. g4l found 0 network interfaces (?). OK, obviously a bug (#1) in the g4l script. Switch to console (alt+f2, username g4l, password ). vi /bin/g4l:149. Back to (alt+f1), full hda copy process and- nothing happens. (alt+f2) vi /bin/g4l:706. On 1/21/07, Tzafrir Cohen [EMAIL PROTECTED] wrote: On Sun, Jan 21, 2007 at 12:02:57AM +0200, Chaim Keren Tzion wrote: BTW, did you try Knoppix instead of g4l? Also note that the partition-copying that g4l does is done by partimage. partimage is included in several other live CDs. Actually no, at least not with g4l-0.21. It uses the plain simple dd. The command from line 706 in g4l with a few minor modifications is dd bs=1M if=/dev/hda | jetcat-mod -p58605120 | bzip2 | ncftpput -m -u user -p pass -c 192.168.168.1 /mnt/hdb2/g4l/t1_express_03022007.img.bz2 that's all. Generally speaking: g4l is one buggy hairy bash script, Nothing more. Turned out I could save myself a few good hours by using grml.org in the first place, which has the full driver support for my laptop and is true Debian. Oh well, you win some you write some ;) -- Tzafrir Cohen | [EMAIL PROTECTED] | VIM is http://tzafrir.org.il || a Mutt's [EMAIL PROTECTED] || best ICQ# 16849755 || friend t Maxim. -- Cheers, Maxim Veksler Free as in Freedom - Do u GNU ? = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: Cloning my laptop's HD over the network (LG T1 Express)
I usually use dump recover for such tasks. That way I'm only copying the relevant parts of the filesystem + I'm not dependent on a specific HD structure. On 1/21/07, Tzafrir Cohen [EMAIL PROTECTED] wrote: On Sun, Jan 21, 2007 at 12:02:57AM +0200, Chaim Keren Tzion wrote: BTW, did you try Knoppix instead of g4l? Also note that the partition-copying that g4l does is done by partimage. partimage is included in several other live CDs. And then again there are the methods of tar | nc --- nc | tar (or ssh insead, of dd instead of tar, or whatever). -- Tzafrir Cohen | [EMAIL PROTECTED] | VIM is http://tzafrir.org.il || a Mutt's [EMAIL PROTECTED] || best ICQ# 16849755 || friend t = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: Cloning my laptop's HD over the network (LG T1 Express)
On Mon, Jan 22, 2007 at 08:13:48PM +0200, Noam Meltzer wrote: I usually use dump recover for such tasks. That way I'm only copying the relevant parts of the filesystem + I'm not dependent on a specific HD structure. partimage does generally that: dump/restore at the block level, without saving unused blocks . Thus it only needs a very minimal understanding of the filesystem it backs-up/restores. -- Tzafrir Cohen | [EMAIL PROTECTED] | VIM is http://tzafrir.org.il || a Mutt's [EMAIL PROTECTED] || best ICQ# 16849755 || friend t = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: Cloning my laptop's HD over the network (LG T1 Express)
On Sun, Jan 21, 2007 at 12:02:57AM +0200, Chaim Keren Tzion wrote: BTW, did you try Knoppix instead of g4l? Also note that the partition-copying that g4l does is done by partimage. partimage is included in several other live CDs. And then again there are the methods of tar | nc --- nc | tar (or ssh insead, of dd instead of tar, or whatever). -- Tzafrir Cohen | [EMAIL PROTECTED] | VIM is http://tzafrir.org.il || a Mutt's [EMAIL PROTECTED] || best ICQ# 16849755 || friend t = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Cloning my laptop's HD over the network (LG T1 Express)
Ola list, I've decided windows deserved even less space then what it has now on my 60GB hard disk. Before stating the actual bit shifting procedure I'd like to have a cloned backup of my HD. The whole story sums up to 2 things : 1. I'm backing up into a windows based storage. Meaning I can use either ftp, smb or specific client software that will be installed on the windows server (cygwin, or dedicated backup server). 2. I have a rather new network hardware, not supported by the vast majority of the live cds. 00:1f.1 IDE interface: Intel Corporation 82801G 02:00.0 Ethernet controller: Agere Systems ET-131x PCI-E Ethernet Controller 05:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection The current bootable OS's on the laptop are Ubuntu 6.10 XP. First I've tried g4l v0.21 [1] but that completely fails to identify my network cards. In case you we're wondering - No, it does not include gcc (not to speak about kernel headers) and it runs 2.6.17. Then I gave a shot at g4u 2.3beta3 [2], here netbsd managed to identify my WiFi card, but gave some warning's about Unable to load firmware file. I then tried to assign it the proper ssid and get the device into up which didn't work either. I might be doing something wrong here and would appreciate if someone could tip me on how should I request dhcp offer in the bsd world, it has the dhclient application but doing a simple dhclient ipw0 doesn't seem to do much. I am aware of the from within dd solution: dd if=/dev/hda bs=1k conv=sync,noerror | gzip -c | ssh -c blowfish [EMAIL PROTECTED] gzip -d | dd of=/dev/hda bs=1k but I wouldn't go this way because it's reading the actual storage while the system writes stuff - not good. Besides, what if I really do need to restore? I this case I still need a live cd that would identify my laptop's Wifi/lan device. There are those traditional backups : bacula, amanda backuppc (apt-cache search backup for lots more). But this is a slow and boring process - In case of recovery I will need to install both my windows and linux machines to do the restore. I'd thank anyone with a creative / original idea to my situation. I wouldn't mind creating my own g4u cd, if someone could explain how I go with adding additional (linux) drivers[3] into the bsd kernel. The ultimate goal making a ghosted copy of my harddisk, _over the network_! AKA, without pulling the harddisk out and connecting it with a usb cable, hack it's 2007 after all... [4] Thank you, Maxim. [1] http://sourceforge.net/projects/g4l [2] http://fbim.fh-regensburg.de/~feyrer/g4u/ [3] http://sourceforge.net/projects/et131x [4] http://ask.slashdot.org/article.pl?sid=06/08/30/2327232 -- Cheers, Maxim Veksler Free as in Freedom - Do u GNU ? = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: Cloning my laptop's HD over the network (LG T1 Express)
These next solutions aren't _over the network_, but they don't require pulling out the HDD. 1. Connect the two machines via USB, boot the laptop with a live CD, create the image and transfer via the USB. Should be doable on-the-fly, without needing to store the image locally. I'm not sure if the Windows can receive it that way, if not then cygwin should be able to. 2. Just use an external USB storage and create the image to that with a live CD, then dump it into the Windows machine. I'm sure there is a Gmach for external USB drives somewhere ;-) Chaim On Saturday 20 January 2007 12:45, Maxim Veksler wrote: Ola list, I've decided windows deserved even less space then what it has now on my 60GB hard disk. Before stating the actual bit shifting procedure I'd like to have a cloned backup of my HD. The whole story sums up to 2 things : 1. I'm backing up into a windows based storage. Meaning I can use either ftp, smb or specific client software that will be installed on the windows server (cygwin, or dedicated backup server). 2. I have a rather new network hardware, not supported by the vast majority of the live cds. 00:1f.1 IDE interface: Intel Corporation 82801G 02:00.0 Ethernet controller: Agere Systems ET-131x PCI-E Ethernet Controller 05:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection The current bootable OS's on the laptop are Ubuntu 6.10 XP. First I've tried g4l v0.21 [1] but that completely fails to identify my network cards. In case you we're wondering - No, it does not include gcc (not to speak about kernel headers) and it runs 2.6.17. Then I gave a shot at g4u 2.3beta3 [2], here netbsd managed to identify my WiFi card, but gave some warning's about Unable to load firmware file. I then tried to assign it the proper ssid and get the device into up which didn't work either. I might be doing something wrong here and would appreciate if someone could tip me on how should I request dhcp offer in the bsd world, it has the dhclient application but doing a simple dhclient ipw0 doesn't seem to do much. I am aware of the from within dd solution: dd if=/dev/hda bs=1k conv=sync,noerror | gzip -c | ssh -c blowfish [EMAIL PROTECTED] gzip -d | dd of=/dev/hda bs=1k but I wouldn't go this way because it's reading the actual storage while the system writes stuff - not good. Besides, what if I really do need to restore? I this case I still need a live cd that would identify my laptop's Wifi/lan device. There are those traditional backups : bacula, amanda backuppc (apt-cache search backup for lots more). But this is a slow and boring process - In case of recovery I will need to install both my windows and linux machines to do the restore. I'd thank anyone with a creative / original idea to my situation. I wouldn't mind creating my own g4u cd, if someone could explain how I go with adding additional (linux) drivers[3] into the bsd kernel. The ultimate goal making a ghosted copy of my harddisk, _over the network_! AKA, without pulling the harddisk out and connecting it with a usb cable, hack it's 2007 after all... [4] Thank you, Maxim. [1] http://sourceforge.net/projects/g4l [2] http://fbim.fh-regensburg.de/~feyrer/g4u/ [3] http://sourceforge.net/projects/et131x [4] http://ask.slashdot.org/article.pl?sid=06/08/30/2327232 = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: Cloning my laptop's HD over the network (LG T1 Express)
BTW, did you try Knoppix instead of g4l? Also see comments below. Chaim On Saturday 20 January 2007 19:52, Chaim Keren Tzion wrote: These next solutions aren't _over the network_, but they don't require pulling out the HDD. 1. Connect the two machines via USB, boot the laptop with a live CD, create the image and transfer via the USB. Should be doable on-the-fly, without needing to store the image locally. I'm not sure if the Windows can receive it that way, if not then cygwin should be able to. 2. Just use an external USB storage and create the image to that with a live CD, then dump it into the Windows machine. I'm sure there is a Gmach for external USB drives somewhere ;-) Chaim On Saturday 20 January 2007 12:45, Maxim Veksler wrote: Ola list, Then I gave a shot at g4u 2.3beta3 [2], here netbsd managed to identify my WiFi card, but gave some warning's about Unable to load firmware file. I then tried to assign it the proper ssid and get the device into up which didn't work either. I might be doing something wrong here and would appreciate if someone could tip me on how should WiFi NIC's require that a firmware be installed every time the system prepares them for use. It is not a complicated process and is generally automated once configured but probably has to be downloaded first. I am aware of the from within dd solution: dd if=/dev/hda bs=1k conv=sync,noerror | gzip -c | ssh -c blowfish [EMAIL PROTECTED] gzip -d | dd of=/dev/hda bs=1k but I wouldn't go this way because it's reading the actual storage while the system writes stuff - not good. Besides, what if I really do need to restore? I this case I still need a live cd that would identify my laptop's Wifi/lan device. Knoppix Thank you, Maxim. [1] http://sourceforge.net/projects/g4l [2] http://fbim.fh-regensburg.de/~feyrer/g4u/ [3] http://sourceforge.net/projects/et131x [4] http://ask.slashdot.org/article.pl?sid=06/08/30/2327232 = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED] = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: Cloning my laptop's HD over the network (LG T1 Express)
Hi Chaim ! On 1/21/07, Chaim Keren Tzion [EMAIL PROTECTED] wrote: BTW, did you try Knoppix instead of g4l? Actually no, I know grml[1] has support for my Agere NIC and ipw3945 WiFI card but it does not have the software used in the g4[l,u] liveCD. I haven't yet dug enough to find out what is it exactly that g4l uses for the actual block device copying procedure but I do know that the software used is the one I'd like to make the cloning with. Also see comments below. Chaim On Saturday 20 January 2007 19:52, Chaim Keren Tzion wrote: These next solutions aren't _over the network_, but they don't require pulling out the HDD. 1. Connect the two machines via USB, boot the laptop with a live CD, create the image and transfer via the USB. Should be doable on-the-fly, without needing to store the image locally. I'm not sure if the Windows can receive it that way, if not then cygwin should be able to. 2. Just use an external USB storage and create the image to that with a live CD, then dump it into the Windows machine. I'm sure there is a Gmach for external USB drives somewhere ;-) Chaim On Saturday 20 January 2007 12:45, Maxim Veksler wrote: Ola list, Then I gave a shot at g4u 2.3beta3 [2], here netbsd managed to identify my WiFi card, but gave some warning's about Unable to load firmware file. I then tried to assign it the proper ssid and get the device into up which didn't work either. I might be doing something wrong here and would appreciate if someone could tip me on how should WiFi NIC's require that a firmware be installed every time the system prepares them for use. It is not a complicated process and is generally automated once configured but probably has to be downloaded first. I am aware of the from within dd solution: dd if=/dev/hda bs=1k conv=sync,noerror | gzip -c | ssh -c blowfish [EMAIL PROTECTED] gzip -d | dd of=/dev/hda bs=1k but I wouldn't go this way because it's reading the actual storage while the system writes stuff - not good. Besides, what if I really do need to restore? I this case I still need a live cd that would identify my laptop's Wifi/lan device. Knoppix I'd consider dd as last resort, namely because it will also copy blocks marked as bad and it has no chance on recovering to a different geometry. That's not an issue for me (this time) but I prefer to solve the problem at a wider scope if possible. Again, if I find no better solution then booting grml and dd'ing my stuff then I'll do it. But in my view - That's lame. [1] http://grml.org/ Anyway - Thanks for the help ! -- Cheers, Maxim Veksler Free as in Freedom - Do u GNU ? = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: Cloning my laptop's HD over the network (LG T1 Express)
On 1/20/07, Chaim Keren Tzion [EMAIL PROTECTED] wrote: These next solutions aren't _over the network_, but they don't require pulling out the HDD. 1. Connect the two machines via USB, boot the laptop with a live CD, create the image and transfer via the USB. Should be doable on-the-fly, without needing to store the image locally. I'm not sure if the Windows can receive it that way, if not then cygwin should be able to. Now this is interesting, I understand you are referring to a usb device that has brains in it. What will it emulate then a block device or a network interface+switch ? This is cool either way, got some links / shopping tips for me ? 2. Just use an external USB storage and create the image to that with a live CD, then dump it into the Windows machine. I'm sure there is a Gmach for external USB drives somewhere ;-) Oh sure, if only life were that simple. USB attached storage is great; Care to loan me one? Chaim Max. On Saturday 20 January 2007 12:45, Maxim Veksler wrote: Ola list, I've decided windows deserved even less space then what it has now on my 60GB hard disk. Before stating the actual bit shifting procedure I'd like to have a cloned backup of my HD. The whole story sums up to 2 things : 1. I'm backing up into a windows based storage. Meaning I can use either ftp, smb or specific client software that will be installed on the windows server (cygwin, or dedicated backup server). 2. I have a rather new network hardware, not supported by the vast majority of the live cds. 00:1f.1 IDE interface: Intel Corporation 82801G 02:00.0 Ethernet controller: Agere Systems ET-131x PCI-E Ethernet Controller 05:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection The current bootable OS's on the laptop are Ubuntu 6.10 XP. First I've tried g4l v0.21 [1] but that completely fails to identify my network cards. In case you we're wondering - No, it does not include gcc (not to speak about kernel headers) and it runs 2.6.17. Then I gave a shot at g4u 2.3beta3 [2], here netbsd managed to identify my WiFi card, but gave some warning's about Unable to load firmware file. I then tried to assign it the proper ssid and get the device into up which didn't work either. I might be doing something wrong here and would appreciate if someone could tip me on how should I request dhcp offer in the bsd world, it has the dhclient application but doing a simple dhclient ipw0 doesn't seem to do much. I am aware of the from within dd solution: dd if=/dev/hda bs=1k conv=sync,noerror | gzip -c | ssh -c blowfish [EMAIL PROTECTED] gzip -d | dd of=/dev/hda bs=1k but I wouldn't go this way because it's reading the actual storage while the system writes stuff - not good. Besides, what if I really do need to restore? I this case I still need a live cd that would identify my laptop's Wifi/lan device. There are those traditional backups : bacula, amanda backuppc (apt-cache search backup for lots more). But this is a slow and boring process - In case of recovery I will need to install both my windows and linux machines to do the restore. I'd thank anyone with a creative / original idea to my situation. I wouldn't mind creating my own g4u cd, if someone could explain how I go with adding additional (linux) drivers[3] into the bsd kernel. The ultimate goal making a ghosted copy of my harddisk, _over the network_! AKA, without pulling the harddisk out and connecting it with a usb cable, hack it's 2007 after all... [4] Thank you, Maxim. [1] http://sourceforge.net/projects/g4l [2] http://fbim.fh-regensburg.de/~feyrer/g4u/ [3] http://sourceforge.net/projects/et131x [4] http://ask.slashdot.org/article.pl?sid=06/08/30/2327232 -- Cheers, Maxim Veksler Free as in Freedom - Do u GNU ? = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: Cloning my laptop's HD over the network (LG T1 Express)
Below... On Sunday 21 January 2007 01:25, Maxim Veksler wrote: On 1/20/07, Chaim Keren Tzion [EMAIL PROTECTED] wrote: These next solutions aren't _over the network_, but they don't require pulling out the HDD. 1. Connect the two machines via USB, boot the laptop with a live CD, create the image and transfer via the USB. Should be doable on-the-fly, without needing to store the image locally. I'm not sure if the Windows can receive it that way, if not then cygwin should be able to. Now this is interesting, I understand you are referring to a usb device that has brains in it. What will it emulate then a block device or a network interface+switch ? This is cool either way, got some links / shopping tips for me ? http://www.linux-usb.org/ In particular: http://www.linux-usb.org/usbnet/ Pay attention to the warning about not using a plain A-to-A cable. The page says you need a cable with special electronics in it. Firewire may be an option as well. No explanation here but it seems some are doing it. Search for linux on the page: http://ask.slashdot.org/article.pl?sid=06/06/30/0259211 2. Just use an external USB storage and create the image to that with a live CD, then dump it into the Windows machine. I'm sure there is a Gmach for external USB drives somewhere ;-) Oh sure, if only life were that simple. USB attached storage is great; Care to loan me one? Borrow one from work. Chaim Max. On Saturday 20 January 2007 12:45, Maxim Veksler wrote: Ola list, I've decided windows deserved even less space then what it has now on my 60GB hard disk. Before stating the actual bit shifting procedure I'd like to have a cloned backup of my HD. The whole story sums up to 2 things : 1. I'm backing up into a windows based storage. Meaning I can use either ftp, smb or specific client software that will be installed on the windows server (cygwin, or dedicated backup server). 2. I have a rather new network hardware, not supported by the vast majority of the live cds. 00:1f.1 IDE interface: Intel Corporation 82801G 02:00.0 Ethernet controller: Agere Systems ET-131x PCI-E Ethernet Controller 05:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection The current bootable OS's on the laptop are Ubuntu 6.10 XP. First I've tried g4l v0.21 [1] but that completely fails to identify my network cards. In case you we're wondering - No, it does not include gcc (not to speak about kernel headers) and it runs 2.6.17. Then I gave a shot at g4u 2.3beta3 [2], here netbsd managed to identify my WiFi card, but gave some warning's about Unable to load firmware file. I then tried to assign it the proper ssid and get the device into up which didn't work either. I might be doing something wrong here and would appreciate if someone could tip me on how should I request dhcp offer in the bsd world, it has the dhclient application but doing a simple dhclient ipw0 doesn't seem to do much. I am aware of the from within dd solution: dd if=/dev/hda bs=1k conv=sync,noerror | gzip -c | ssh -c blowfish [EMAIL PROTECTED] gzip -d | dd of=/dev/hda bs=1k but I wouldn't go this way because it's reading the actual storage while the system writes stuff - not good. Besides, what if I really do need to restore? I this case I still need a live cd that would identify my laptop's Wifi/lan device. There are those traditional backups : bacula, amanda backuppc (apt-cache search backup for lots more). But this is a slow and boring process - In case of recovery I will need to install both my windows and linux machines to do the restore. I'd thank anyone with a creative / original idea to my situation. I wouldn't mind creating my own g4u cd, if someone could explain how I go with adding additional (linux) drivers[3] into the bsd kernel. The ultimate goal making a ghosted copy of my harddisk, _over the network_! AKA, without pulling the harddisk out and connecting it with a usb cable, hack it's 2007 after all... [4] Thank you, Maxim. [1] http://sourceforge.net/projects/g4l [2] http://fbim.fh-regensburg.de/~feyrer/g4u/ [3] http://sourceforge.net/projects/et131x [4] http://ask.slashdot.org/article.pl?sid=06/08/30/2327232 -- Chaim Keren Tzion [EMAIL PROTECTED] +972-(0)54-465-2983 +972-(0)2-53-53-363 ICQ: 2076934 AIM: lifelionzionray MSN: [EMAIL PROTECTED] Yahoo: chakatz Skype: lionslife = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]