rolanaj Posted March 9, 2004 Share Posted March 9, 2004 Well I finally did it I installed PCLos on the hard drive. What do I do next I see the tip for adding it to the lilo is a work in progress. So should I next just make a boot floppy so I can boot into it? Or do I add it to the lilo in Mandrake 9.1 like any other distro? Quote Link to comment Share on other sites More sharing options...
Bruno Posted March 9, 2004 Share Posted March 9, 2004 Let me first finish with Colin's lilo . . . I will be back in 30 minutes in this thread and will help you step by step:D :DB) Bruno Quote Link to comment Share on other sites More sharing options...
rolanaj Posted March 9, 2004 Author Share Posted March 9, 2004 Thanks Bruno, I tried making the boot floppy following the steps in the tips section but got this error: /sbin/mkbootdisk: line135: [: =: unary orperator expectedCannot find root partition in /etc/fstab Quote Link to comment Share on other sites More sharing options...
Bruno Posted March 9, 2004 Share Posted March 9, 2004 PART 2We will add it to Mandrakes lilo . . . . . . . you can already tell me on what partition you installed PCLos . . . Bruno Quote Link to comment Share on other sites More sharing options...
rolanaj Posted March 9, 2004 Author Share Posted March 9, 2004 Ok I put it on hdb6 Quote Link to comment Share on other sites More sharing options...
Bruno Posted March 9, 2004 Share Posted March 9, 2004 Thanks Bruno, I tried making the boot floppy following the steps in the tips section but got this error:/sbin/mkbootdisk: line135: [: =: unary orperator expectedCannot find root partition in /etc/fstab A boot disk for what distro ??You can still boot Mandrake ?? Bruno Quote Link to comment Share on other sites More sharing options...
rolanaj Posted March 9, 2004 Author Share Posted March 9, 2004 Sorry didn't mean to startle you, I havent closed out of PCLos since I did the hard drive install. I thought I might need to make a boot floppy so I could boot into PCLos if I didn't have it in my Lilo. Is it not possible to make a boot floppy from a livecd? I hope I can still boot into Mandrake can I go try or is there something i need to do in PCLos first? Everything seemed to go ok during the install didn't see any error messages. Quote Link to comment Share on other sites More sharing options...
Bruno Posted March 9, 2004 Share Posted March 9, 2004 Okay I get the picture . . What did you do in the last step of the HD install . . . where did you put Lilo . . in the MBR ?? Or in the /root partition ??No you can not make a bootfloppy yet from PCLos . . . Bruno Quote Link to comment Share on other sites More sharing options...
rolanaj Posted March 9, 2004 Author Share Posted March 9, 2004 Step 5: Bootloader InstallationSelect /dev/hdb6 (Bootsector of Partition)I want to see the lilo for the HD install but I don't want to change the way my system boots yet.Click Install to continueDO NOT Click Next. This will skip installation of a bootloader.This is exactly what I did Quote Link to comment Share on other sites More sharing options...
Bruno Posted March 9, 2004 Share Posted March 9, 2004 Okay . . . great job !! . . So now you can reboot in Mandrake . . . . PCLos will not yet be in the bootloader but we will add it once you are booted in Mandrake :DB) Bruno Quote Link to comment Share on other sites More sharing options...
rolanaj Posted March 9, 2004 Author Share Posted March 9, 2004 ok Bruno, I will go boot into Mandrake and I will be back after a bit best of luck with Colins lilo. Quote Link to comment Share on other sites More sharing options...
Bruno Posted March 9, 2004 Share Posted March 9, 2004 Colin's Lilo is finished . . he is rebooting and should be fine . . so I'm all yours . . . Bruno Quote Link to comment Share on other sites More sharing options...
rolanaj Posted March 9, 2004 Author Share Posted March 9, 2004 Well I booted into Mandrake just fine so what is next? Quote Link to comment Share on other sites More sharing options...
Bruno Posted March 9, 2004 Share Posted March 9, 2004 Good ! :DCan you tell me on what partition your /swap is ?And post me: # cat /etc/lilo.conf Bruno Quote Link to comment Share on other sites More sharing options...
rolanaj Posted March 9, 2004 Author Share Posted March 9, 2004 ok I'm on my PC now instead of the laptop, sooo much easier. I have two swaps hda6 and hdb8 [root@localhost rolana]# cat /etc/lilo.confboot=/dev/hdamap=/boot/mapdefault="linux"keytable=/boot/us.kltpromptnowarntimeout=100message=/boot/messagemenu-scheme=wb:bw:wb:bwimage=/boot/vmlinuz    label="linux"    root=/dev/hda5    initrd=/boot/initrd.img    append="devfs=mount hdc=ide-scsi acpi=off quiet"    vga=788    read-onlyimage=/boot/vmlinuz    label="linux-nonfb"    root=/dev/hda5    initrd=/boot/initrd.img    append="devfs=mount hdc=ide-scsi acpi=off"    read-onlyimage=/boot/vmlinuz    label="failsafe"    root=/dev/hda5    initrd=/boot/initrd.img    append="devfs=nomount hdc=ide-scsi acpi=off failsafe"    read-onlyother=/dev/hda1    label="windows"    table=/dev/hdaother=/dev/fd0    label="floppy"    unsafeimage=/boot/drake92/vmlinuz-2.4.22-10mdk  label="MDK-FiveStar"  root=/dev/hdb5  initrd=/boot/drake92/initrd-2.4.22-10mdk.img  append="devfs=mount hdc=ide-scsi acpi=ht splash=silent"  vga=788  read-only[root@localhost rolana]# Quote Link to comment Share on other sites More sharing options...
Bruno Posted March 9, 2004 Share Posted March 9, 2004 We will have to check the /swap PCLos is using later once PCLos is booted . . remind me of that . . for the moment I will set it at hda6 . . if needed we will change it to hdb8 later . . :DSo here are the commands: ( All as root ) # mkdir  /mnt/pclos # mkdir  /boot/pclos # mount  /dev/hdb6  /mnt/pclos # cp  /mnt/pclos/boot/vmlinuz-2.4.23-2.tmb.2mdk  /boot/pclos # cp  /mnt/pclos/boot/initrd-2.4.23-2.tmb.2mdk.img  /boot/pclos After they were all successful do: # ls /boot/pclos And post me the results Bruno Quote Link to comment Share on other sites More sharing options...
rolanaj Posted March 9, 2004 Author Share Posted March 9, 2004 [root@localhost rolana]# ls /boot/pclosinitrd-2.4.23-2.tmb.2mdk.img vmlinuz-2.4.23-2.tmb.2mdkIs this what you are looking for? Quote Link to comment Share on other sites More sharing options...
Bruno Posted March 9, 2004 Share Posted March 9, 2004 Brilliant . . what a relief such a bright pupil . . :DRemember Vi ?? Or do you want to use Kedit ?? # kedit /etc/lilo.conf This is the section to add: image=/boot/pclos/vmlinuz-2.4.23-2.tmb.2mdk     label="PCLos"     root=/dev/hdb6     initrd=/boot/pclos/initrd-2.4.23-2.tmb.2mdk.img     append="devfs=mount splash=silent resume=/dev/hda6 hdc=ide-scsi acpi=ht"     vga=788     read-only Save the file and let me see: # cat /etc/lilo.conf Bruno Quote Link to comment Share on other sites More sharing options...
rolanaj Posted March 9, 2004 Author Share Posted March 9, 2004 Ok here it is: [root@localhost rolana]# cat /etc/lilo.confboot=/dev/hdamap=/boot/mapdefault="linux"keytable=/boot/us.kltpromptnowarntimeout=100message=/boot/messagemenu-scheme=wb:bw:wb:bwimage=/boot/vmlinuz    label="linux"    root=/dev/hda5    initrd=/boot/initrd.img    append="devfs=mount hdc=ide-scsi acpi=off quiet"    vga=788    read-onlyimage=/boot/vmlinuz    label="linux-nonfb"    root=/dev/hda5    initrd=/boot/initrd.img    append="devfs=mount hdc=ide-scsi acpi=off"    read-onlyimage=/boot/vmlinuz    label="failsafe"    root=/dev/hda5    initrd=/boot/initrd.img    append="devfs=nomount hdc=ide-scsi acpi=off failsafe"    read-onlyother=/dev/hda1    label="windows"    table=/dev/hdaother=/dev/fd0    label="floppy"    unsafeimage=/boot/drake92/vmlinuz-2.4.22-10mdk  label="MDK-FiveStar"  root=/dev/hdb5  initrd=/boot/drake92/initrd-2.4.22-10mdk.img  append="devfs=mount hdc=ide-scsi acpi=ht splash=sil  vga=788  read-onlyimage=/boot/pclos/vmlinuz-2.4.23-2.tmb.2mdk  label="PCLos"  root=/dev/hdb6  initrd=/boot/pclos/initrd-2.4.23-2.tmb.2mdk.img  append="devfs=mount splash=silent resume=/dev/hda6  vga=788  read-only[root@localhost rolana]# image=/boot/pclos/vmlinuz-2.4.[root@localhost rolana]#    label="PCLos"[root@localhost rolana]#    root=/dev/hdb6[root@localhost rolana]#    initrd=/boot/pclos/init[root@localhost rolana]#    append="devfs=mount spl         a6 hdc=ide-scsi acpi=ht"[root@localhost rolana]#    vga=788[root@localhost rolana]#    read-only Quote Link to comment Share on other sites More sharing options...
rolanaj Posted March 9, 2004 Author Share Posted March 9, 2004 Now I know I messed that up but not sure how. Can I just delete the [root@localhost rolana]# parts in front of all those lines? Quote Link to comment Share on other sites More sharing options...
Bruno Posted March 9, 2004 Share Posted March 9, 2004 Looks good . . . only this part is funny: [root@localhost rolana]# image=/boot/pclos/vmlinuz-2.4.[root@localhost rolana]#     label="PCLos"[root@localhost rolana]#     root=/dev/hdb6[root@localhost rolana]#     initrd=/boot/pclos/init[root@localhost rolana]#     append="devfs=mount spl           a6 hdc=ide-scsi acpi=ht"[root@localhost rolana]#     vga=788[root@localhost rolana]#     read-only Hope that is not in your lilo.conf file :DB) Bruno Quote Link to comment Share on other sites More sharing options...
Bruno Posted March 9, 2004 Share Posted March 9, 2004 (edited) Just remove the last 7 lines . . and fix the append line . . The section is there twice :DB) Bruno Edited March 9, 2004 by Bruno Quote Link to comment Share on other sites More sharing options...
rolanaj Posted March 9, 2004 Author Share Posted March 9, 2004 no its not thankfully not sure how I managed to do that though [root@localhost rolana]# cat /etc/lilo.confboot=/dev/hdamap=/boot/mapdefault="linux"keytable=/boot/us.kltpromptnowarntimeout=100message=/boot/messagemenu-scheme=wb:bw:wb:bwimage=/boot/vmlinuz    label="linux"    root=/dev/hda5    initrd=/boot/initrd.img    append="devfs=mount hdc=ide-scsi acpi=off quiet"    vga=788    read-onlyimage=/boot/vmlinuz    label="linux-nonfb"    root=/dev/hda5    initrd=/boot/initrd.img    append="devfs=mount hdc=ide-scsi acpi=off"    read-onlyimage=/boot/vmlinuz    label="failsafe"    root=/dev/hda5    initrd=/boot/initrd.img    append="devfs=nomount hdc=ide-scsi acpi=off failsafe"    read-onlyother=/dev/hda1    label="windows"    table=/dev/hdaother=/dev/fd0    label="floppy"    unsafeimage=/boot/drake92/vmlinuz-2.4.22-10mdk  label="MDK-FiveStar"  root=/dev/hdb5  initrd=/boot/drake92/initrd-2.4.22-10mdk.img  append="devfs=mount hdc=ide-scsi acpi=ht splash=silent"  vga=788  read-onlyimage=/boot/pclos/vmlinuz-2.4.23-2.tmb.2mdk  label="PCLos"  root=/dev/hdb6  initrd=/boot/pclos/initrd-2.4.23-2.tmb.2mdk.img  append="devfs=mount splash=silent resume=/dev/hda6 hdc=ide-scsi acpi=ht"  vga=788  read-onlyThat is the lilo.conf without the extras Quote Link to comment Share on other sites More sharing options...
Bruno Posted March 9, 2004 Share Posted March 9, 2004 Looks perfect !! . . . LOL . . . well you sure know how to have FUN ! :DNow do # /sbin/lilo And post me the results . . . Bruno Quote Link to comment Share on other sites More sharing options...
rolanaj Posted March 9, 2004 Author Share Posted March 9, 2004 This looks good I think [root@localhost rolana]# /sbin/liloAdded linux *Added linux-nonfbAdded failsafeAdded windowsAdded floppyAdded MDK-FiveStarAdded PCLos Quote Link to comment Share on other sites More sharing options...
Bruno Posted March 9, 2004 Share Posted March 9, 2004 Looks perfect Rolana !!Let's reboot into PCLos now . . no panic if it fails . . . just do Ctrl+Alt+Del ( or reset ) if it fails and come back to Mandrake . . . . But I guesss it will be okay . . Next post from PCLos . . :DB) Bruno Quote Link to comment Share on other sites More sharing options...
rolanaj Posted March 9, 2004 Author Share Posted March 9, 2004 Ok I will boot into PCLos but I don't think i will be able to post from there until I have set up the modem which is usually a lIttle time consuming. Quote Link to comment Share on other sites More sharing options...
Bruno Posted March 9, 2004 Share Posted March 9, 2004 Just give us a sign that it boots okay . . . . use the laptop :DB) Bruno Quote Link to comment Share on other sites More sharing options...
rolanaj Posted March 9, 2004 Author Share Posted March 9, 2004 Ok it booted ok did get an error about either a bad super block on hdb7 or too many mounted partitions. All my partitions seem to be mounted so hopefully it is the latter. Quote Link to comment Share on other sites More sharing options...
Bruno Posted March 9, 2004 Share Posted March 9, 2004 (edited) .BRILLIANT !!! What lives on hdb7 ??Can you show me: # cat fstab from PCLos ? We still need to know what /swap it uses too . . remember ?? BrunoSEE NEXT POST !! Edited March 9, 2004 by Bruno Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.