Re: [ilugd] Network install disk image
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Mon, 23 Jul 2012 11:10:00 +0530, Raj Mathur (राज माथुर) r...@linux-delhi.org said: On Monday 23 Jul 2012, Ashish SHUKLA wrote: On Mon, 23 Jul 2012 10:22:43 +0530, Raj Mathur (राज माथुर) raju@linux- delhi.org said: Can you suggest a utility or web page instructions for installing a pre- built Linux disk image over the network? We have a bare machine with PXE and a server with a Linux disk image. Need the flow to get this image onto the bare machine's disk. I don't know of anything already available with such functionality but it would be cool to build one: 1. On PXE server side, setup a webserver with images 2. Compile a kernel (with all drivers for your target hardware) + an initrd with /sbin/init which sets up network, fdisk/mkfs's the filesystem, wget -O - http:///image.tar.xz|xzcat |tar xv everything as per kernel parameters. Or if you're using 'disk images', then wget -O - |xzcat|dd if=/dev/stdin of=/dev/$device. You also need to resize partitions to the target sizes after copying the image. which is why I mentioned 'mkfs+tar' otherwise with dd you need to resize2fs (or equivalent filesystem resize tool). 3. Create per client pxelinux.cfg configuration (in case client's settings differ from defaults), with something like: linux /vmlinuz append initrd=/initrd.gz network=eth0;static;172.16.0.3/27 img=gentoo-x64 drive=sda It would be really cool to build something like that yourself :). Thanks to both you and Saurabh for the suggestions. And now I'm invoking the ILUGD torture clause: if you suggest something in public, you are automagically volunteered to do it! So when can we expect a first-cut implementation for testing, Ashish? :) It'll happen, it'll happen in our lifetimes. :) In the meantime I found these, which may be useful starting points. SystemImager in particular seems well-suited: http://svn.oscar.openclustergroup.org/trac/oscar http://wiul.org/ http://kaboot.ainkaboot.co.uk/ http://wiki.systemimager.org/ SystemImager looks closer to what you're looking and has more functionality. - -- Ashish SHUKLA “It is rare that one can see in a little boy the promise of a man, but one can almost always see in a little girl the threat of a woman.” (Alexandre Dumas) Sent from my Emacs -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.18 (FreeBSD) iQIcBAEBCgAGBQJQDOsSAAoJEMdGz6nnT6SwLCUP/j8Bvcaev/WYUEfBlrW0QM+X i4sfmYBErTsXlhju84/dkJfK4mRHw0jj+hnXJ/faAeNsOONt8+8iTOmh8E9W46xD mBRA8naiMWRSrCyCNkrLiX4YaJrb6weh5SWTejKepI80YHEv28qxq8abu2aNhdZn mtxNc++U6W+9RGVwSkPHI3/ttroB9hwnd7CS0qznAN5lF7IM74A9yC0/InkWNlKs DDEAuRXTgb4SqqDNc/EOEwnlJ4pK/u6aMhxMKqqMZNKNOEoPoE/ooe7w/5Gc21rB ZyoGECjT05pZBLHhNHVZSNGxrMh1cikUWUlF7E5dWV/5GSHr0kPPUa5jucyunkZ6 b+QKQN6MjHI4sl0Fh+jH1JXH79T95XPesRqf8UP2FChgxSRYJ8mK01Y6dt8Jts0D KnOSpu6Ukl7VMNBtzep3CHb7zSAx5/o6eA9u0I27iHTtvNktJrrwQWVldnLyypkt Fp/Fh532fLF0dvV5LEofHy6Ecy2f+6S3MAVWm1OX1fqlbCwNxEr9YE1Qgi48x5+m 6ljY5t/aK8MJ7RLlzFndXsziBRmO48RVUQSddg/EHotbjUDPcNhvo/sb2vqKnePI YO1IZM0c0xd8JvV0ug2USiG5UrHsNSW0So8f5zNVO2qfiI6AMcqsSmTgXg67k4Db nS/unZYIKshpvjLvr3Pw =TBs6 -END PGP SIGNATURE- ___ Ilugd mailing list Ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd
Re: [ilugd] Network install disk image
On 07/23/2012 10:22 AM, Raj Mathur (राज माथुर) wrote: Can you suggest a utility or web page instructions for installing a pre- built Linux disk image over the network? We have a bare machine with PXE and a server with a Linux disk image. Need the flow to get this image onto the bare machine's disk. Please read http://anu.homelinux.net/pub/FreeBSD/tftpboot/README.txt, though you may find it a little bit FreeBSD specific, but the logic is same for Linux ISO images. I also keep mounted Debian-Live, GRML, LinuxMint and Ubuntu ISO images: [bsd@mon ~]$ mount |grep iso /mnt/sda9/boot/iso/debian-live-6.0.4-xfce-i386-cd.iso on /srv/live/debian type iso9660 (ro) /mnt/sda9/boot/iso/grml-11.12-fluxbox-i386-cd.iso on /srv/live/grml type iso9660 (ro) /mnt/sda9/boot/iso/linuxmint-11-gnome-32bit-dvd.iso on /srv/live/mint type iso9660 (ro) /mnt/sda9/boot/iso/ubuntu-12.04-unity-32bit-dvd.iso on /srv/live/ubuntu type iso9660 (ro) [bsd@mon ~]$ ls /srv/tftp/ debian grml.igz menu.c32* pxelinux.0* ubuntu debian.ilz knoppix mint pxelinux.cfg/ ubuntu.ilz etherboot.nbi@ knoppix.igz mint.ilz qnx-6.0.demo.img grmlmemdisk* oberon-0.img type-tutor.boot.img the debian, debian.ilz, grml, grml.igz, mint, mint.ilz and ubuntu, ubuntu.ilz are kernels and initrd images copied from above said live-CD/DVD ISO images. and the menu.32, memdisk and pxelinux.0 have been copied from syslinux package. here are a few excerpts from /srv/tftp/pxelinux.cfg/default: 8 LABEL debian MENU LABEL Debian, XFCE, 32Bit (Remote/LiveCD) KERNEL debian APPEND initrd=debian.ilz root=/dev/nfs rw nfsroot=192.168.1.3:/srv/live/debian boot=live config lang=us localtime nodhcp noeject nomodeset noprompt quiet splash startx tz=Asia/Kolkata vga=788 LABEL grml MENU LABEL ^GRML, WM-NG, 32Bit (Remote/LiveCD) KERNEL grml APPEND initrd=grml.igz root=/dev/nfs rw nfsroot=192.168.1.3:/srv/live/grml boot=live live-media-path=/live/grml32/ bootid=grml32201112 lang=us localtime noeject nomodeset noprompt quiet splash startx=mw-ng tz=Asia/Kolkata vga=788 LABEL mint MENU LABEL Linux^Mint, XFCE, 32Bit (Remote/LiveCD) KERNEL mint APPEND initrd=mint.ilz netboot=nfs nfsroot=192.168.1.3:/srv/live/mint boot=casper nomodeset quiet splash tz=Asia/Kolkata vga=788 -- LABEL ubuntu MENU LABEL ^Ubuntu, UNITY, 32Bit (Remote/LiveCD) KERNEL ubuntu APPEND initrd=ubuntu.ilz netboot=nfs nfsroot=192.168.1.3:/srv/live/ubuntu boot=casper nomodeset quiet splash tz=Asia/Kolkata vga=788 -- 8 s/192\.168\.1\.3/ip.add.ress.of.your.server/ Hope that helps, -- Balwinder S bdheeman Dheeman (http://werc.homelinux.net/contact/) ___ Ilugd mailing list Ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd
Re: [ilugd] Network install disk image
On Monday 23 Jul 2012, Balwinder S Dheeman wrote: On 07/23/2012 10:22 AM, Raj Mathur (राज माथुर) wrote: Can you suggest a utility or web page instructions for installing a pre- built Linux disk image over the network? We have a bare machine with PXE and a server with a Linux disk image. Need the flow to get this image onto the bare machine's disk. Please read http://anu.homelinux.net/pub/FreeBSD/tftpboot/README.txt, though you may find it a little bit FreeBSD specific, but the logic is same for Linux ISO images. I also keep mounted Debian-Live, GRML, LinuxMint and Ubuntu ISO images: Thanks Balwinder (incidentally, do your initials drive you to affinity with a particular flavour of Unix? :) I'm looking more at an installable image, for which there have been numerous suggestions, both on- and off-list. Also now waiting for Ashish' tour-de-force. Regards, -- Raj -- Raj Mathur || r...@kandalaya.org || GPG: http://otheronepercent.blogspot.com || http://kandalaya.org || CC68 It is the mind that moves || http://schizoid.in || D17F ___ Ilugd mailing list Ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd
[ilugd] Reliance Data Card on Centos 6
Hi All, Please find the help guide of Reliance Data Card on Centos 6 http://www.linuxquestions.org/questions/linux-newbie-8/zte-ac2627-usb-modem-not-working-in-fedora-9-a-795499/ yum install tcl yum install usb_modeswitch ( Enable rpmforge repo) # cat /etc/wvdial.conf [Dialer Defaults] Modem=/dev/ttyUSB0 Baud=115200 Dial Command = ATDT Baud=115200 Dial Command = ATDT init1=ATZ init2=AT+CRM=1 Flow Control= Hardware (CRTSCTS) Username = 9310093082 Password = 9310093082 Phone = #777 Stupid Mode = 1 #lsusb output is Bus 004 Device 006: ID 19d2:fff5 ONDA Communication S.p.A. #cat /etc/usb_modeswitch.conf DefaultVendor= 0x19d2 DefaultProduct= 0xfff5 TargetVendor= 0x19d2 TargetProduct= 0xfff1 MessageEndpoint=0x0a MessageContent=5553424312345678c000869f03 #usb_modeswitch -c /etc/usb_modeswitch.conf #lsusb output should be Bus 004 Device 006: ID 19d2:fff1 ONDA Communication S.p.A. # check modem is found or not # ls /dev/ttyU* if output is positive then run the below command #wvdial Thanks With Regards Dhyanendra 9717985652 ___ Ilugd mailing list Ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd
Re: [ilugd] Reliance Data Card on Centos 6
On Tuesday 24 Jul 2012, dhyanendra chauhan wrote: Please find the help guide of Reliance Data Card on Centos 6 http://www.linuxquestions.org/questions/linux-newbie-8/zte-ac2627-usb -modem-not-working-in-fedora-9-a-795499/ yum install tcl Looks good. However, one small issue: Baud=115200 That will just kill whatever speed you could get from the modem. I typically set baud to 3686400 or higher. Even the old Reliance ZTE dongle I'm using handles that. Regards, -- Raj -- Raj Mathur || r...@kandalaya.org || GPG: http://otheronepercent.blogspot.com || http://kandalaya.org || CC68 It is the mind that moves || http://schizoid.in || D17F ___ Ilugd mailing list Ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd