longgone Posted August 18, 2004 Author Share Posted August 18, 2004 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'? Quote Link to comment Share on other sites More sharing options...
Bruno Posted August 18, 2004 Share Posted August 18, 2004 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 ;) Bruno Quote Link to comment Share on other sites More sharing options...
longgone Posted August 18, 2004 Author Share Posted August 18, 2004 [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 Quote Link to comment Share on other sites More sharing options...
Bruno Posted August 18, 2004 Share Posted August 18, 2004 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 Bruno Quote Link to comment Share on other sites More sharing options...
longgone Posted August 18, 2004 Author Share Posted August 18, 2004 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 ... Quote Link to comment Share on other sites More sharing options...
Bruno Posted August 18, 2004 Share Posted August 18, 2004 First remove the error: # rm -rf /mnt/hdb1boot Then give the correct command # cp -r /boot/knoppix /mnt/hdb1/boot Bruno Quote Link to comment Share on other sites More sharing options...
longgone Posted August 18, 2004 Author Share Posted August 18, 2004 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]# Quote Link to comment Share on other sites More sharing options...
Bruno Posted August 18, 2004 Share Posted August 18, 2004 Now let me see again: ls -al /mnt/hdb1/boot/ Bruno Quote Link to comment Share on other sites More sharing options...
longgone Posted August 18, 2004 Author Share Posted August 18, 2004 [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]# Quote Link to comment Share on other sites More sharing options...
Bruno Posted August 18, 2004 Share Posted August 18, 2004 Looks good Dale . . you can now reboot into Drake 10 again !!!See you on the other side ;) Bruno Quote Link to comment Share on other sites More sharing options...
longgone Posted August 18, 2004 Author Share Posted August 18, 2004 Welllllllllllllll.................. here I am , once again , in Drake 10.0 .... onward with the next step .... onward I say ..... all ahead fulll ........ Quote Link to comment Share on other sites More sharing options...
Bruno Posted August 18, 2004 Share Posted August 18, 2004 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" !!! ) Bruno Quote Link to comment Share on other sites More sharing options...
longgone Posted August 18, 2004 Author Share Posted August 18, 2004 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 ..... ???? Quote Link to comment Share on other sites More sharing options...
longgone Posted August 18, 2004 Author Share Posted August 18, 2004 And back after the reboot ... into Linux ... Quote Link to comment Share on other sites More sharing options...
Bruno Posted August 18, 2004 Share Posted August 18, 2004 Crossing fingers ;) Bruno Quote Link to comment Share on other sites More sharing options...
longgone Posted August 18, 2004 Author Share Posted August 18, 2004 Succcccessssss.......... Quote Link to comment Share on other sites More sharing options...
Bruno Posted August 18, 2004 Share Posted August 18, 2004 Good now give me a minute because this is complicated . . . . Bruno Quote Link to comment Share on other sites More sharing options...
longgone Posted August 18, 2004 Author Share Posted August 18, 2004 Just take allllllllllll .... the time you neeed .... I am not going anywhere ... Quote Link to comment Share on other sites More sharing options...
Bruno Posted August 18, 2004 Share Posted August 18, 2004 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" unsafePleas add the white lines as well . . it gives more clarity Bruno Quote Link to comment Share on other sites More sharing options...
longgone Posted August 18, 2004 Author Share Posted August 18, 2004 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 ?????? Quote Link to comment Share on other sites More sharing options...
Bruno Posted August 18, 2004 Share Posted August 18, 2004 Yep the "white"lines ais the spacing between the sections ;)Now run again: # /sbin/lilo -b /dev/hda And reboot to checkB) Bruno Quote Link to comment Share on other sites More sharing options...
longgone Posted August 18, 2004 Author Share Posted August 18, 2004 [l"[root@localhost dale]# /sbin/lilo -b /dev/hdaIgnoring entry 'boot'Added Mandrake10 *Added Drake10-4GBAdded failsafeAdded windowsAdded floppy[root@localhost dale]#]bbl..... Quote Link to comment Share on other sites More sharing options...
Bruno Posted August 18, 2004 Share Posted August 18, 2004 Looks good Dale . . see you after the rebootB) Bruno Quote Link to comment Share on other sites More sharing options...
longgone Posted August 18, 2004 Author Share Posted August 18, 2004 And ... after the re-boot ....... here I am again ... in Drake 10.0 ............................ Quote Link to comment Share on other sites More sharing options...
Bruno Posted August 18, 2004 Share Posted August 18, 2004 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 . . . . :DB) Bruno Quote Link to comment Share on other sites More sharing options...
longgone Posted August 18, 2004 Author Share Posted August 18, 2004 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] I hope Quote Link to comment Share on other sites More sharing options...
Bruno Posted August 18, 2004 Share Posted August 18, 2004 Looks good Dale # /sbin/lilo -b /dev/hda Bruno Quote Link to comment Share on other sites More sharing options...
longgone Posted August 18, 2004 Author Share Posted August 18, 2004 One question....... where is "cooker " at in that lilo menu ??????? Quote Link to comment Share on other sites More sharing options...
Bruno Posted August 18, 2004 Share Posted August 18, 2004 Not there yet . . . :DB) Bruno Quote Link to comment Share on other sites More sharing options...
longgone Posted August 18, 2004 Author Share Posted August 18, 2004 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]# 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.