Jump to content

PClos harddrive install


rolanaj

Recommended Posts

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?

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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
Link to comment
Share on other sites

PART 2We will add it to Mandrakes lilo . . . . :blink: . . . you can already tell me on what partition you installed PCLos . . . :huh: Bruno

Link to comment
Share on other sites

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 ??:blink: Bruno
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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 . . . :blink: Bruno

Link to comment
Share on other sites

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
Link to comment
Share on other sites

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

Link to comment
Share on other sites

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]#
Link to comment
Share on other sites

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 :huh::blink: Bruno

Link to comment
Share on other sites

[root@localhost rolana]# ls /boot/pclosinitrd-2.4.23-2.tmb.2mdk.img  vmlinuz-2.4.23-2.tmb.2mdk
Is this what you are looking for?
Link to comment
Share on other sites

Brilliant . . what a relief such a bright pupil . . :blink: :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

:huh: Bruno

Link to comment
Share on other sites

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
Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Just remove the last 7 lines . . and fix the append line . . :blink: The section is there twice :DB) Bruno

Edited by Bruno
Link to comment
Share on other sites

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-only
That is the lilo.conf without the extras :blink:
Link to comment
Share on other sites

Looks perfect !! . . . LOL . . . well you sure know how to have FUN ! :D :DNow do

# /sbin/lilo

And post me the results . . .B) Bruno

Link to comment
Share on other sites

This looks good I think

[root@localhost rolana]# /sbin/liloAdded linux *Added linux-nonfbAdded failsafeAdded windowsAdded floppyAdded MDK-FiveStarAdded PCLos
Link to comment
Share on other sites

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

Link to comment
Share on other sites

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. :D

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

.BRILLIANT !!! What lives on hdb7 ??Can you show me:

# cat fstab

from PCLos ? We still need to know what /swap it uses too . . remember ??:D BrunoSEE NEXT POST !!

Edited by Bruno
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...