From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,fa8882500c74e60,start X-Google-Attributes: gid111c93,public From: albert_rollin@hotmail.com Subject: help for booting from the hard disk Date: 1999/02/09 Message-ID: <79ot9r$n75$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 442251383 X-Http-Proxy: 1.0 x13.dejanews.com:80 (Squid/1.1.22) for client 195.98.235.6 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Tue Feb 09 08:57:33 1999 GMT Newsgroups: comp.os.linux.alpha X-Http-User-Agent: Mozilla/4.05 [fr] (WinNT; I) I've got an AS400 (with SRM) and I just managed to install Redhat linux and boot from the hard disk. As many people have problems to do this, I'm going to explain how I did it. CREATE THE FLOPPYS ------------------ First you've got to create 2 boot disks with your Redhat CDrom or with the images you may find on the net. You should prepare another floppy for milo from images as well. This will put linload.exe and the milo image on your floppy. CHANGE TO ARC ------------- In fact, I don't really boot under SRM. I changed to ARC with the simple command : os_type = nt under SRM Then after reboting, there was no more SRM ! I was under ARC. ADD A BOOT SELECTION -------------------- choose Supplementary menu choose Set up the system choose Boot selection choose Add a boot selection then answer the following questions in order to have : LOADIDENTIFIER=linux floppy SYSTEMMPARTITION=scsi(0)disk(1)rdisk(0)partition(1) OSLOADER=scsi(0)disk(1)rdisk(0)partition(1)\linload.exe OSLOADPARTITION=scsi(0)disk(1)rdisk(0)partition(1) OSLOADfilename=scsi(0)disk(1)rdisk(0)partition(1)\milo OSLOADOPTION= Go back to the boot menu (don' forget to save changes!) and boot 'linux floppy' INSTALL LINUX ------------- You will be under milo, enter the following line : MILO> boot fd0:vmlinux.gz root=/dev/fd0 load_ramdisk=1 The installation begins... The first partition will be used for installing milo on the hard disk /dev/sda1 * 1 10 1 dos 12-bit fat /dev/sda2 11 700 83 linux native /dev/sda3 701 900 82 linux native /dev/sda4 901 1017 82 linux swap At the end of this installation you'll have to reboot. INSTALL MILO ON THE HARD DRIVE ------------------------------ log in as root. Now you're gonna install milo on the hard drive with the following command : dd if=/dev/fd0 of=/dev/sda1 bs=1440 ADD THE LAST BOOT SELECTION --------------------------- reboot and enter ARC. make a new boot selection. You should have something like that : LOADIDENTIFIER=Linux hard disk SYSTEMMPARTITION=scsi(0)disk(1)rdisk(0)partition(1) OSLOADER=scsi(0)disk(1)rdisk(0)partition(1)\linload.exe OSLOADPARTITION=scsi(0)disk(1)rdisk(0)partition(1) OSLOADfilename=scsi(0)disk(1)rdisk(0)partition(1)\milo OSLOADOPTION=boot sda2:vmlinux.gz root=/dev/sda2 boot from an alternate operating system 'Linux hard disk' --------- THE END --------- Hope this will help all newbies (and the others as well). Don't hesitate to mail me if you have any questions, any comments.... Thanks to all for the help you brought to me. A.Rollin PS : if you really want to boot on the HD from SRM, it seems that you'll have to deal with BSD partitions. I tried but I only got kernel panics.... good luck -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own