Thread: [Gujin-devel] Re : install questions
Brought to you by:
etienne_lorrain
From: Etienne L. <eti...@ya...> - 2007-01-23 17:50:04
|
Randy Dunlap wrote:=0A=0A> I'd like to test gujin on a spare PC. Well, I h= ave installed=0A> Linux on it, but it's OK if it gets trashed.=0A>=0A> Howe= ver, I didn't create a small partition for gujin.=0A> >From reading the FAQ= , it seems that I need to do that.=0A> Is that correct?=0A=0A I assume that= Gujin is working for you, i.e you have installed it=0Aon a floppy, a USB k= ey or a CDROM and it does what you want;=0Aso (as a next step) you want to = install it on your hard drive.=0A Basically, Gujin just needs the first sec= tor of the disk (MBR) or=0Afirst sector of an active partition, plus some s= pace in a filesystem.=0A The filesystem could be anything but only FAT is i= mplemented=0Aright now (by lack of time), and because I am used to only use= =0Aa B.E.E.R. partition (containing a FAT) to install Gujin.=0A The B.E.E.R= . partition can be very small, some disk partition=0Amanagement systems lea= ve few hundred Kbytes to few Mbytes=0Aat end of the drive by default and th= at is enough for Gujin.=0A Then, you just need to boot Linux and type as ro= ot:=0A./instboot boot.bin /dev/hda0=0A if you want to install on disk /dev/= hda. It will automatically search=0Afor some free space at end of the disk = to create this B.E.E.R.partition,=0Aand if correctly found will ask you to = confirm before writing to the=0Adisk. If you say "yes" the installer will s= et up the end of the disk=0A(creating a small FAT partition there) and the = install finish=0Ausually without any problem.=0A The main advantage of the = B.E.E.R. partition is that it does not=0Atake a slot in the partition table= .=0A My advise is to use the previous system by default, often you just=0An= eed to reduce the last partition by one or two cylinder, easy if that=0Apar= titon is for swap space.=0A=0A Note the "-hx" option of instboot which desc= ribe usual installations.=0A=0A> And then this device (/dev/hda4)=0A> ./ins= tboot boot.img /dev/hda4=0A> ~~~~~~~~~=0A> refers to th= e special gujin partition? Is that right?=0A> (so that I need to go reinst= all Linux and create that partition)=0A=0ANow if you have an empty slot in = your partition table (primary or extended),=0Awith some free space on your = disk, like /dev/hda4, you can use it.=0ANote that it is not a "special guji= n partition", there isn't such a thing,=0Abut the installer create a FAT fi= lesystem, inserting a bootloader;=0Ayou will be able to use that FAT filesy= stem anyway you like after creation.=0A=0A> Q2. Does gujin have scriptable= capabilities? E.g., with=0A> lilo, I can build a new kernel, copy it to /= boot, and tell=0A> lilo to boot the new kernel *one time only* on the next = boot=0A> (-R option). This makes installing & booting a new kernel=0A> ver= y safe, which is important when doing lots of kernel builds=0A> and testing= . I suppose another way to ask this is:=0A> can I tell gujin to boot a spe= cific kernel on the next boot?=0A> and can that be in effect only one time?= =0A=0A To create a one-shoot only boot process, you need write access=0Ato = the hard disk (to store that you have booted once), and Gujin=0Acan be conf= igured to not write at all (by default).=0A In fact, because it is so easy = to select which kernel to boot, I never=0Aneeded this function.=0A I have i= n between 3 and 7 Linux distribution on the same PC, the work=0Apartition h= as up to 10 different kernel version at the same time, so=0AI like to keep = the boot process simple and select which kernel with=0Athe mouse.=0A=0A> Q3= . Does gujin work on x86_64 systems?=0A=0ACannot test, I do not have x86_6= 4.=0A=0A> Q4. What does "hda0" in the FAQ refer to? Linux doesn't use=0A>= that naming scheme.=0A> Oh, that's the BEER partition. Is that required?= =0A> (I could probably answer that by reading the FAQ or install.txt,=0A> b= ut install.txt seems much too rambling IMO.)=0A=0A The B.E.E.R. partition i= s not needed (and you will not use that=0Aon a USB key, a CDROM or a floppy= ) but that is what I use=0Aas default on a hard disk, because it is simpler= - as described=0Apreviously.=0A Either write down better bootloader or mor= e docs, I am more=0Ainterested by better code; moreover people ask me to co= mpare=0Awith Grub or LILO and I did not use any other bootloader than mine= =0Afor the last 5 years - so I can't compare.=0A=0A> Q5. Several examples = in install.txt use "boot.img" as a filename.=0A> Is that supposed to be "bo= ot.bin"?=0A=0A Yes, thanks I will correct. I have changed the extension in = Makefile=0Aaround version 0.6.=0A=0A> Thanks,=0A> ---=0A> ~Randy=0A=0A Than= ks for testing Gujin,=0A Etienne.=0A=0A=0A=09=0A=0A=09=0A=09=09=0A_________= __________________________________________________________________ =0AD=E9c= ouvrez une nouvelle fa=E7on d'obtenir des r=E9ponses =E0 toutes vos questio= ns ! =0AProfitez des connaissances, des opinions et des exp=E9riences des i= nternautes sur Yahoo! Questions/R=E9ponses =0Ahttp://fr.answers.yahoo.com |