Jump to content

More Partitions . . More Distro's to boot


longgone

Recommended Posts

B) :hmm: Could be a problem on the very last line ?????
[root@localhost dale]# cp -r /boot/vmlinuz-2.4.19-16mdkenterprise /mnt/hdb1/boot/drake90[root@localhost dale]# cp -r /boot/initrd-2.4.19-16mdkenterprise.img /mnt/hdb1/boot/drake90[root@localhost dale]# ls -al /mnt/hdb1/boot/total 6044drwxr-xr-x    6 root  root      4096 Aug 18 00:30 ./drwxr-xr-x 19 root  root      4096 Aug 18 00:08 ../-rw-r--r--    1 root  root          512 Aug 12 18:48 boot.0300lrwxrwxrwx    1 root  root        17 Aug 17 23:26 config -> config-2.6.3-7mdk-rw-r--r--    1 root  root        54087 Mar 17 06:58 config-2.6.3-7mdk-rw-r--r--    1 root  root        54189 Mar 17 06:19 config-2.6.3-7mdk-i686-up-4GB-rw-r--r--    1 root  root      5032 Feb 19 09:03 diag1.img-rw-r--r--    1 root  root        16796 Feb 19 09:03 diag2.imgdrwxr-xr-x    2 root  root      4096 Aug 18 00:45 drake90/drwxr-xr-x    2 root  root      4096 Aug 12 18:37 grub/-rw-r--r--    1 root  root    108939 Aug 12 18:48 initrd-2.6.3-7mdk-i686-up-4GB.img-rw-r--r--    1 root  root    139177 Aug 12 18:48 initrd-2.6.3-7mdk.imglrwxrwxrwx    1 root  root        33 Aug 12 18:48 initrd-i686-up-4GB.img -> initrd-2.6.3-7mdk-i686-up-4GB.imglrwxrwxrwx    1 root  root        21 Aug 12 18:48 initrd.img -> initrd-2.6.3-7mdk.imglrwxrwxrwx    1 root  root        25 Aug 17 23:26 kernel.h -> /boot/kernel.h-2.6.3-7mdk-rw-r--r--    1 root  root          537 Aug 17 23:26 kernel.h-2.6.3-7mdk-rw-r--r--    1 root  root          537 Aug 12 18:58 kernel.h-2.6.3-7mdk-i686-up-4GB-rw-------    1 root  root    550400 Aug 12 18:50 maplrwxrwxrwx    1 root  root        15 Aug 12 18:50 message -> message-graphic-rw-r--r--    1 root  root    442273 Aug 12 18:48 message-graphic-rw-r--r--    1 root  root          116 Aug 12 18:50 message-textdrwxr-xr-x    2 root  root      4096 Aug 18 00:30 slack/drwxr-xr-x    3 root  root      4096 Aug 18 00:29 suse/lrwxrwxrwx    1 root  root        21 Aug 17 23:26 System.map -> System.map-2.6.3-7mdk-rw-r--r--    1 root  root    898908 Mar 17 06:58 System.map-2.6.3-7mdk-rw-r--r--    1 root  root    900900 Mar 17 06:19 System.map-2.6.3-7mdk-i686-up-4GB-rw-r--r--    1 root  root          256 Aug 12 18:48 us.kltlrwxrwxrwx    1 root  root        18 Aug 12 18:48 vmlinuz -> vmlinuz-2.6.3-7mdk-rw-r--r--    1 root  root      1440198 Mar 17 06:58 vmlinuz-2.6.3-7mdk-rw-r--r--    1 root  root      1468886 Mar 17 06:19 vmlinuz-2.6.3-7mdk-i686-up-4GBlrwxrwxrwx    1 root  root        30 Aug 12 18:48 vmlinuz-i686-up-4GB -> vmlinuz-2.6.3-7mdk-i686-up-4GB[root@localhost dale]# ls /mnt/boot/drake90/ls: /mnt/boot/drake90/: No such file or directory[root@localhost dale]# rm /boot/drake90rm: remove regular file `/boot/drake90'?
Link to comment
Share on other sites

  • Replies 845
  • Created
  • Last Reply

Top Posters In This Topic

  • longgone

    415

  • Bruno

    377

  • SonicDragon

    22

  • teacher

    14

I changed the before last line Dale:

# ls  /mnt/hdb1/boot/drake90/# rm /boot/drake90

And yes the last line removes an error we made earlier ;)B) Bruno

Link to comment
Share on other sites

[root@localhost dale]# ls /mnt/hdb1/boot/drake90/initrd-2.4.19-16mdkenterprise.img  vmlinuz-2.4.19-16mdkenterprise[root@localhost dale]# rm /boot/drake90rm: remove regular file `/boot/drake90'?
opppsss
Link to comment
Share on other sites

Hope you said YES on the last question you got in the console there . . . Then, because you TYPE the commands and do not COPY and PASTE them you made a mistake too:# cp -r /boot/knoppix /mnt/hdb1bootThis should be:

  # cp -r /boot/knoppix /mnt/hdb1/boot

To fix this mistake you have to do

# rm -rf /mnt/hdb1boot

B) Bruno

Link to comment
Share on other sites

B) Oppsss.... again .. no I did not say anything at all about that... so how do I correct this error ... might as welll get them all at the same time ...
Link to comment
Share on other sites

First remove the error:

# rm -rf /mnt/hdb1boot

Then give the correct command

 # cp -r /boot/knoppix /mnt/hdb1/boot

B) Bruno

Link to comment
Share on other sites

Okay... here is the correction I hope ,, and for some reason I am not having any luck pasting from the page here onto a consol page ... it is not making the transition ??:

Password:[root@localhost dale]# cp -r /boot/knoppix /mnt/hdb1/boot[root@localhost dale]# rm -rf /mnt/hdb1boot[root@localhost dale]#
Link to comment
Share on other sites

B) :hmm: :clap: :clap:
[root@localhost dale]# ls -al /mnt/hdb1/boot/total 6048drwxr-xr-x    7 root  root      4096 Aug 18 01:02 ./drwxr-xr-x 19 root  root      4096 Aug 18 00:08 ../-rw-r--r--    1 root  root          512 Aug 12 18:48 boot.0300lrwxrwxrwx    1 root  root        17 Aug 17 23:26 config -> config-2.6.3-7mdk-rw-r--r--    1 root  root        54087 Mar 17 06:58 config-2.6.3-7mdk-rw-r--r--    1 root  root        54189 Mar 17 06:19 config-2.6.3-7mdk-i686-up-4GB-rw-r--r--    1 root  root      5032 Feb 19 09:03 diag1.img-rw-r--r--    1 root  root        16796 Feb 19 09:03 diag2.imgdrwxr-xr-x    2 root  root      4096 Aug 18 00:45 drake90/drwxr-xr-x    2 root  root      4096 Aug 12 18:37 grub/-rw-r--r--    1 root  root    108939 Aug 12 18:48 initrd-2.6.3-7mdk-i686-up-4GB.img-rw-r--r--    1 root  root    139177 Aug 12 18:48 initrd-2.6.3-7mdk.imglrwxrwxrwx    1 root  root        33 Aug 12 18:48 initrd-i686-up-4GB.img -> initrd-2.6.3-7mdk-i686-up-4GB.imglrwxrwxrwx    1 root  root        21 Aug 12 18:48 initrd.img -> initrd-2.6.3-7mdk.imglrwxrwxrwx    1 root  root        25 Aug 17 23:26 kernel.h -> /boot/kernel.h-2.6.3-7mdk-rw-r--r--    1 root  root          537 Aug 17 23:26 kernel.h-2.6.3-7mdk-rw-r--r--    1 root  root          537 Aug 12 18:58 kernel.h-2.6.3-7mdk-i686                        -up-4GBdrwxr-xr-x    3 root  root      4096 Aug 18 01:02 knoppix/-rw-------    1 root  root    550400 Aug 12 18:50 maplrwxrwxrwx    1 root  root        15 Aug 12 18:50 message -> message-graph                        ic-rw-r--r--    1 root  root    442273 Aug 12 18:48 message-graphic-rw-r--r--    1 root  root          116 Aug 12 18:50 message-textdrwxr-xr-x    2 root  root      4096 Aug 18 00:30 slack/drwxr-xr-x    3 root  root      4096 Aug 18 00:29 suse/lrwxrwxrwx    1 root  root        21 Aug 17 23:26 System.map -> System.map                        -2.6.3-7mdk-rw-r--r--    1 root  root    898908 Mar 17 06:58 System.map-2.6.3-7mdk-rw-r--r--    1 root  root    900900 Mar 17 06:19 System.map-2.6.3-7mdk-i6                        86-up-4GB-rw-r--r--    1 root  root          256 Aug 12 18:48 us.kltlrwxrwxrwx    1 root  root        18 Aug 12 18:48 vmlinuz -> vmlinuz-2.6.3                        -7mdk-rw-r--r--    1 root  root      1440198 Mar 17 06:58 vmlinuz-2.6.3-7mdk-rw-r--r--    1 root  root      1468886 Mar 17 06:19 vmlinuz-2.6.3-7mdk-i686-                        up-4GBlrwxrwxrwx    1 root  root        30 Aug 12 18:48 vmlinuz-i686-up-4GB -> v                        mlinuz-2.6.3-7mdk-i686-up-4GB[root@localhost dale]#
:wacko:
Link to comment
Share on other sites

Welllllllllllllll.................. here I am , once again , in Drake 10.0 .... onward with the next step .... onward I say ..... all ahead fulll ........

Link to comment
Share on other sites

Next step is:

#  /sbin/lilo -b /dev/hda

We write the default lilo of Drake 10 to the MBR . . then reboot and boot up in "Linux" ( !! Not the default "linux-i686-up-4GB" !!! )B) Bruno

Link to comment
Share on other sites

B) :hmm: :clap: Welll.......... here is the results of that .........
[Password:[root@localhost dale]# /sbin/lilo -b /dev/hdaIgnoring entry 'boot'Added linuxAdded linux-nonfbAdded linux-i686-up-4GB *Added 263-7Added failsafeAdded windowsAdded floppy[root@localhost dale]#
]I notice though that the default boot is going to be that i686 entry ..... ????
Link to comment
Share on other sites

This is just the first step . . cleaning up the /etc/lilo.conf . . . remove the RED parts

# File generated by DrakX/drakboot# WARNING: do not forget to run lilo after modifying this fileboot=/dev/hdamap=/boot/mapdefault="Mandrake10"<====================!!!!!keytable=/boot/us.kltpromptnowarntimeout=100message=/boot/messagemenu-scheme=wb:bw:wb:bwimage=/boot/vmlinuz        label="Mandrake10"<====================!!!!!        root=/dev/hdb1        initrd=/boot/initrd.img        append="devfs=mount acpi=ht splash=silent"        vga=788        read-onlyimage=/boot/vmlinuz        label="linux-nonfb"        root=/dev/hdb1        initrd=/boot/initrd.img        append="devfs=mount acpi=ht"        read-onlyimage=/boot/vmlinuz-i686-up-4GB        label="Drake10-4GB" <====================!!!!!        root=/dev/hdb1        initrd=/boot/initrd-i686-up-4GB.img        append="devfs=mount acpi=ht splash=silent"        read-onlyimage=/boot/vmlinuz-2.6.3-7mdk        label="263-7"        root=/dev/hdb1        initrd=/boot/initrd-2.6.3-7mdk.img        append="devfs=mount acpi=ht splash=silent"        read-onlyimage=/boot/vmlinuz        label="failsafe"        root=/dev/hdb1        initrd=/boot/initrd.img        append="failsafe acpi=ht devfs=nomount"        read-onlyother=/dev/hda3        label="windows"        table=/dev/hdaother=/dev/fd0        label="floppy"        unsafe
Pleas add the white lines as well . . it gives more clarity ;):P Bruno
Link to comment
Share on other sites

I surel do hope I did this right .... I have not done a /etc/lilo yet just in case ..

[boot=/dev/hdamap=/boot/mapdefault="Mandrake10"keytable=/boot/us.kltpromptnowarntimeout=100message=/boot/messagemenu-scheme=wb:bw:wb:bwimage=/boot/vmlinuz label="Mandrake10" root=/dev/hdb1 initrd=/boot/initrd.img append="devfs=mount acpi=ht splash=silent" vga=788 read-onlyimage=/boot/vmlinuz-i686-up-4GB label="Drake10-4GB" root=/dev/hdb1 initrd=/boot/initrd-i686-up-4GB.img append="devfs=mount acpi=ht splash=silent" read-onlYimage=/boot/vmlinuz label="failsafe" root=/dev/hdb1 initrd=/boot/initrd.img append="failsafe acpi=ht devfs=nomount" read-onlyother=/dev/hda3 label="windows" table=/dev/hdaother=/dev/fd0 label="floppy" unsafe
]also ,,, what are the white lines you refered to ... you mean like spacing in between the diifferent sections ??????
Link to comment
Share on other sites

Yep the "white"lines ais the spacing between the sections ;)Now run again:

#  /sbin/lilo -b /dev/hda

And reboot to checkB) Bruno

Link to comment
Share on other sites

[l"[root@localhost dale]# /sbin/lilo -b /dev/hdaIgnoring entry 'boot'Added Mandrake10 *Added Drake10-4GBAdded failsafeAdded windowsAdded floppy[root@localhost dale]#
]bbl.....
Link to comment
Share on other sites

Well this is going really well . . . Here is the section to add:

image=/boot/drake90/vmlinuz-2.4.19-16mdkenterprise    label="Mandrake90"    root=/dev/hda1    initrd=/boot/drake90/initrd-2.4.19-16mdkenterprise.img    append="devfs=mount acpi=ht splash=silent"    vga=788    read-onlyimage=/boot/knoppix/vmlinuz-2.4.26    label="Knoppix-24"    root=/dev/hda9    initrd=/boot/knoppix/initrd.img-2.4.26    vga=788    read-onlyimage=/boot/knoppix/vmlinuz-2.6.6    label="Knoppix-26"    root=/dev/hda9    initrd=/boot/knoppix/initrd.img-2.6.6    vga=788    read-onlyimage=/boot/slack/vmlinuz-ide-2.4.22    label="Slackware"    root=/dev/hda8    append="hdc=ide-scsi"    vga=791    read-onlyimage=/boot/suse/vmlinuz-2.6.5-7.104-default  label="SUSE"  initrd=/boot/suse/initrd-2.6.5-7.104-default  optional  root=/dev/hda10  vga=0x317  append="splash=silent desktop resume=/dev/hda5 showopts" 
And that is the Grand Finale . . . . :P :DB) Bruno
Link to comment
Share on other sites

And here for your viewing approval....................

[boot=/dev/hdamap=/boot/mapdefault="Mandrake10"keytable=/boot/us.kltpromptnowarntimeout=100message=/boot/messagemenu-scheme=wb:bw:wb:bwimage=/boot/vmlinuz label="Mandrake10" root=/dev/hdb1 initrd=/boot/initrd.img append="devfs=mount acpi=ht splash=silent" vga=788 read-onlyimage=/boot/vmlinuz-i686-up-4GB label="Drake10-4GB" root=/dev/hdb1 initrd=/boot/initrd-i686-up-4GB.img append="devfs=mount acpi=ht splash=silent" read-onlYimage=/boot/vmlinuz label="failsafe" root=/dev/hdb1 initrd=/boot/initrd.img append="failsafe acpi=ht devfs=nomount" read-onlyimage=/boot/drake90/vmlinuz-2.4.19-16mdkenterprise        label="Mandrake90"        root=/dev/hda1        initrd=/boot/drake90/initrd-2.4.19-16mdkenterprise.img        append="devfs=mount acpi=bt splash=silent"        vga=788        read-onlyimage=/boot/knoppix/vmlinuz-2.4.26        label="Knoppix-24"        root=/dev/hda9        initrd=/boot/knoppix/initrd.img-2.4.26        vga=788        read-onlyimage=/boot/knoppix/vmlinuz-2.6.6        label=Knoppix-26"        root=/dev/hda9        initrd=/boot/knoppix/initrd.img-2.6.6        vga=788        read-onlyimage=/boot/slack/vmlinux-ide-2.4.22        label="Slackware"        root=/dev/hda8        append="hdc=ide-scsi"        vga=791        read-onlyimage=/boot/suse/vmlinuz-2.6.5-7.104-default        label="SUSE"        initrd=/boot/suse/initrd-2.6.5-7.104-default        optional        root=/dev/hda10        vga=0x317        append="splash=silent desktop resume=/dev/hda5 showopts"other=/dev/hda3 label="windows" table=/dev/hdaother=/dev/fd0 label="floppy" unsafe
] :P I hope
Link to comment
Share on other sites

Ouch .. !!!!!

Password:[root@localhost dale]# gedit /etc/lilo.conf[root@localhost dale]# /sbin/lilo -b /dev/hdaIgnoring entry 'boot'Added Mandrake10 *Added Drake10-4GBAdded failsafeAdded Mandrake90Added Knoppix-24Added Knoppix-26"Fatal: open /boot/slack/vmlinux-ide-2.4.22: No such file or directory[root@localhost dale]#
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...