Jump to content

cant boot suse


georgeg4

Recommended Posts

here we go again . i added suse to my lilo.conf but it doesnt show up on my boot menu .below are my mtab /fstab and lilo.conf i did the mkdir /mnt/suse and mkdir /boot/suse and mounted and copied it to the /boot dir[george@localhost george]$ cat /etc/mtab/dev/ide/host2/bus0/target1/lun0/part1 / ext3 rw 0 0none /proc proc rw 0 0none /proc/bus/usb usbdevfs rw 0 0none /dev devfs rw 0 0none /sys sysfs rw 0 0none /dev/pts devpts rw,mode=0620 0 0/dev/ide/host2/bus0/target0/lun0/part1 /mnt/win_c ntfs ro,umask=0,nls=iso8859-1 0 0/dev/ide/host2/bus0/target1/lun0/part6 /mnt/windows vfat rw,umask=0,iocharset=iso8859-1,codepage=850 0 0none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0[george@localhost george]$ cat /etc/fstab/dev/hdf1 / ext3 defaults 1 1none /dev/pts devpts mode=0620 0 0/dev/hdg /mnt/cdrom auto umask=0,user,iocharset=iso8859-1,codepage=850,noauto,ro,exec 0 0/dev/hdh /mnt/cdrom2 auto umask=0,user,iocharset=iso8859-1,codepage=850,noauto,ro,exec 0 0/dev/hde1 /mnt/win_c ntfs umask=0,nls=iso8859-1,ro 0 0/dev/hdf6 /mnt/windows vfat umask=0,iocharset=iso8859-1,codepage=850 0 0none /proc proc defaults 0 0/dev/hdf5 swap swap defaults 0 0[george@localhost george]$[george@localhost george]$ cat /etc/lilo.conf# File generated by DrakX/drakboot# WARNING: do not forget to run lilo after modifying this fileboot=/dev/hdemap=/boot/mapdefault="Mandrake"keytable=/boot/us.kltpromptnowarntimeout=100message=/boot/messagemenu-scheme=wb:bw:wb:bwdisk=/dev/hde bios=0x80image=/boot/vmlinuz-2.6.3-7mdk label="Mandrake" root=/dev/hdf1 initrd=/boot/initrd-2.6.3-7mdk.img append="devfs=mount splash=silent acpi=ht resume=/dev/hdf5" vga=791 read-onlyother=/dev/hde1 label="Windows" table=/dev/hdeimage=/boot/vmlinuz label="suse" root=/dev/hde6 initrd=/boot/initrd append="resume=/dev/hde5 splash=silent desktop" vga=0x31a read-only[george@localhost george]$ ls -a /mnt./ cdrom/ hd/ photo/ suse/ win_d/../ cdrom2/ mess.txt pictures/ win_c/ windows/below is the old /etc/lilo.conf and this one is the one showing when i boot # File generated by DrakX/drakboot# WARNING: do not forget to run lilo after modifying this fileboot=/dev/hdemap=/boot/mapdefault="Mandrake"keytable=/boot/us.kltpromptnowarntimeout=100message=/boot/messagemenu-scheme=wb:bw:wb:bwdisk=/dev/hde bios=0x80image=/boot/vmlinuz-2.6.3-7mdk label="Mandrake" root=/dev/hdf1 initrd=/boot/initrd-2.6.3-7mdk.img append="devfs=mount splash=silent acpi=ht resume=/dev/hdf5" vga=791 read-onlyother=/dev/hde1 label="Windows" table=/dev/hdeimage=/boot/vmlinuz label="linux" root=/dev/hdf1 initrd=/boot/initrd.img append="devfs=mount acpi=ht resume=/dev/hdf5 splash=silent" vga=788 read-only

Link to comment
Share on other sites

GeorgeWhen you pull Suse over to Mandrake's lilo you can not leave it with the symbolic link to the initrd

image=/boot/vmlinuzlabel="suse"root=/dev/hde6initrd=/boot/initrdappend="resume=/dev/hde5 splash=silent desktop"vga=0x31aread-only
You must change the /boot/vmlinuz to the correct vmlinux and the initrd to the correct initrd. I suggest you make a folder in your Mandrake Lilo labeled "suse". Then copy over your Suse/boot/ files to the Mandrake boot/suse directory. Then change the two lines to reflect the full Suse kernel info. If it is the current one it is probably:
vmlinuz-2.6.11.4-20a-defaultinitrd-2.6.11.4-20a-defaultconfig-2.6.11.4-20a-default

That would make the three lines:

image=/boot/suse/vmlinuz-2.6.11.4-20a-defaultlabel="suse"root=/dev/hde6initrd=/boot/suse/initrd-2.6.11.4-20a-defaultappend="resume=/dev/hde5 splash=silent desktop"vga=0x31a

Link to comment
Share on other sites

Yep Teach right on target :hysterical: . . . additionally, George you will want to show us ( when booted in Mandrake )

# ls -al /boot/suse

And maybe too

# cat /mnt/suse/etc/lilo.conf

( after mounting the suse partition ):D Bruno

Link to comment
Share on other sites

[root@localhost george]# ls -al /boot/susetotal 2892drwxr-xr-x 3 root root 4096 May 12 13:38 ./drwxr-xr-x 4 root root 4096 May 18 09:57 ../drwxr-xr-x 3 root root 4096 May 5 20:54 boot/-rw-r--r-- 1 root root 1468815 May 18 07:42 vmlinuz-rw-r--r-- 1 root root 1468815 May 12 13:38 vmlinuz-2.6.4-52-default[root@localhost george]# mount /dev/hde6 /mnt/suse[root@localhost george]# cat /mnt/suse/etc/lilo.conf# Modified by YaST2. Last modification on Wed May 18 02:52:18 2005menu-scheme = Wb:kw:Wb:Wbdefault = Linuxtimeout = 80message = /boot/messagechange-rules resetread-onlypromptdisk=/dev/hde bios=0x80 disk=/dev/hdf bios=0x81boot = /dev/hdeimage = /boot/vmlinuz ###Don't change this comment - YaST2 identifier: Original name: linux### label = Linux initrd = /boot/initrd root = /dev/hde6 append = "resume=/dev/hdf5 splash=silent desktop" vga = 0x31aother = /dev/hde1 ###Don't change this comment - YaST2 identifier: Original name: windows### label = Windowsimage = /boot/vmlinuz ###Don't change this comment - YaST2 identifier: Original name: failsafe### label = Failsafe initrd = /boot/initrd root = /dev/hde6 append = "ide=nodma apm=off acpi=off vga=normal noresume nosmp noapic maxcpus=0 3"[root@localhost george]#

Edited by georgeg4
Link to comment
Share on other sites

Hi George . . you have a problem:

[root@localhost george]# ls -al /boot/susetotal 2892drwxr-xr-x 3 root root 4096 May 12 13:38 ./drwxr-xr-x 4 root root 4096 May 18 09:57 ../drwxr-xr-x 3 root root 4096 May 5 20:54 boot/-rw-r--r-- 1 root root 1468815 May 18 07:42 vmlinuz-rw-r--r-- 1 root root 1468815 May 12 13:38 vmlinuz-2.6.4-52-default
That part does not look okay . . so we will replace it:
# rm -rf /boot/suse# mount /dev/hde6 /mnt/suse# cp -r /mnt/suse/boot  /boot/suse# ls -al /boot/suse

Please show us the result of the last command ;):D Bruno

Link to comment
Share on other sites

update i rebooted and still i dont have suse in the mbr just mandrake and windows i checked lilo again and suse is there it just isnt writing it to the mbr .Password:[root@localhost george]# cat /etc/lilo.conf# File generated by DrakX/drakboot# WARNING: do not forget to run lilo after modifying this fileboot=/dev/hdemap=/boot/mapdefault="Mandrake"keytable=/boot/us.kltpromptnowarntimeout=100message=/boot/messagemenu-scheme=wb:bw:wb:bwdisk=/dev/hde bios=0x80image=/boot/vmlinuz-2.6.3-7mdk label="Mandrake" root=/dev/hdf1 initrd=/boot/initrd-2.6.3-7mdk.img append="devfs=mount splash=silent acpi=ht resume=/dev/hdf5" vga=791 read-onlyother=/dev/hde1 label="Windows" table=/dev/hdeimage=/boot/suse/vmlinuz-2.6.4-52-default label="suse" root=/dev/hde6 initrd=/boot/suse/initrd-2.6.4-52-default append="resume=/dev/hde5 splash=silent desktop" vga=0x31a read-only[root@localhost george]#p.s. teacher i already did copy the suse files over they are below in the previous post when i ran cat /mnt/suse/etc/lilo.conf for bruno

Link to comment
Share on other sites

George . . see my last post just above yours :)

Hi George . . you have a problem:
[root@localhost george]# ls -al /boot/susetotal 2892drwxr-xr-x 3 root root 4096 May 12 13:38 ./drwxr-xr-x 4 root root 4096 May 18 09:57 ../drwxr-xr-x 3 root root 4096 May 5 20:54 boot/Where is the initrd-2.6.4-52-default ?? -rw-r--r-- 1 root root 1468815 May 18 07:42 vmlinuz-rw-r--r-- 1 root root 1468815 May 12 13:38 vmlinuz-2.6.4-52-default
That part does not look okay . . so we will replace it:
# rm -rf /boot/suse# mount /dev/hde6 /mnt/suse# cp -r /mnt/suse/boot  /boot/suse# ls -al /boot/suse

Please show us the result of the last command :D

B) BrunoB) Bruno
Link to comment
Share on other sites

Georgecat /mnt/suse/etc/lilo.conf will only show us how you have your lilo configured. It won't tell us you have the files copied over. Oh I see you did a ls command.Did you run /sbin/lilo after your last edit? That should have done the trick.

Link to comment
Share on other sites

i see we crossposted bruno :D[george@localhost george]$ suPassword:[root@localhost george]# cat /etc/lilo.conf# File generated by DrakX/drakboot# WARNING: do not forget to run lilo after modifying this fileboot=/dev/hdemap=/boot/mapdefault="Mandrake"keytable=/boot/us.kltpromptnowarntimeout=100message=/boot/messagemenu-scheme=wb:bw:wb:bwdisk=/dev/hde bios=0x80image=/boot/vmlinuz-2.6.3-7mdk label="Mandrake" root=/dev/hdf1 initrd=/boot/initrd-2.6.3-7mdk.img append="devfs=mount splash=silent acpi=ht resume=/dev/hdf5" vga=791 read-onlyother=/dev/hde1 label="Windows" table=/dev/hdeimage=/boot/suse/vmlinuz-2.6.4-52-default label="suse" root=/dev/hde6 initrd=/boot/suse/initrd-2.6.4-52-default append="resume=/dev/hde5 splash=silent desktop" vga=0x31a read-only[root@localhost george]# rm -rf /boot/suse[root@localhost george]# mount /dev/hde6 /mnt/suse[root@localhost george]# cp -r /mnt/suse/boot /boot/suse[root@localhost george]# ls -al /boot/susetotal 5592drwxr-xr-x 3 root root 4096 May 18 17:25 ./drwxr-xr-x 4 root root 4096 May 18 17:25 ../-rw-r--r-- 1 root root 512 May 18 17:25 backup_mbrlrwxrwxrwx 1 root root 1 May 18 17:25 boot -> ./-rw-r--r-- 1 root root 512 May 18 17:25 boot.2100-rw-r--r-- 1 root root 54727 May 18 17:25 config-2.6.4-52-defaultdrwxr-xr-x 2 root root 4096 May 18 17:25 grub/lrwxrwxrwx 1 root root 23 May 18 17:25 initrd -> initrd-2.6.4-52-default-rw-r--r-- 1 root root 1244879 May 18 17:25 initrd-2.6.4-52-defaultlrwxrwxrwx 1 root root 20 May 18 17:25 initrd.suse -> /boot/initrd.shipped-rw-r--r-- 1 root root 105852 May 18 17:25 Kerntypes-2.6.4-52-default-rw------- 1 root root 158208 May 18 17:25 map-rw-r--r-- 1 root root 83456 May 18 17:25 message-rw-r--r-- 1 root root 73831 May 18 17:25 modversions-2.6.4-52-i386-default.gz-rw-r--r-- 1 root root 728259 May 18 17:25 System.map-2.6.4-52-default-rw-r--r-- 1 root root 1733953 May 18 17:25 vmlinux-2.6.4-52-default.gzlrwxrwxrwx 1 root root 24 May 18 17:25 vmlinuz -> vmlinuz-2.6.4-52-default-rw-r--r-- 1 root root 1468815 May 18 17:25 vmlinuz-2.6.4-52-defaultlrwxrwxrwx 1 root root 21 May 18 17:25 vmlinuz.suse -> /boot/vmlinuz.shipped[root@localhost george]#

Link to comment
Share on other sites

George . . now please do

# /sbin/lilo

and show me the results . . . What version of Mandrake is that ??:D Bruno

Link to comment
Share on other sites

version 10.0 bruno[root@localhost george]# /sbin/liloAdded Mandrake *Added WindowsAdded suse[root@localhost george]#

Link to comment
Share on other sites

That should do it George! At least until you do your updates and get a current version of the kernel! Every time you change your lilo.conf the next step must be /sbin/lilo to activate the new lilo. :D

Link to comment
Share on other sites

Hi George . . . Do NOT reboot yet . . . . . because I think you have an error in the mandrake part and you might not be able to boot Drake againPlease add this section:

image=/boot/vmlinuz-2.6.3-7mdk label="Mandrake-2" root=/dev/hdf1 initrd=/boot/initrd-2.6.3-7mdk.img append="devfs=nomount splash=silent acpi=ht resume=/dev/hdf5" vga=791 read-only
And the run /sbin/lilo again and show me the results again.:D Bruno
Link to comment
Share on other sites

[root@localhost george]# /sbin/liloAdded Mandrake *Added WindowsAdded suse[root@localhost george]#oops sorry bruno doing it now

Edited by georgeg4
Link to comment
Share on other sites

Hi George . . . Do NOT reboot yet . . . . . because I think you have an error in the mandrake part and you might not be able to boot Drake againPlease add this section:
image=/boot/vmlinuz-2.6.3-7mdk label="Mandrake-2" root=/dev/hdf1 initrd=/boot/initrd-2.6.3-7mdk.img append="devfs=nomount splash=silent acpi=ht resume=/dev/hdf5" vga=791 read-only

And the run /sbin/lilo again and show me the results again.:D Bruno

Crosspost again George . . . . the above is VERY important !! You will have 2 mandrake entries after that but the second is only there for if the first one fails to work ;):) Bruno
Link to comment
Share on other sites

sorry it took so long bruno i got a "." somehow and kept getting an error but i found it and removed it[root@localhost george]# /sbin/liloAdded Mandrake *Added Mandrake-2Added WindowsAdded suse[root@localhost george]#

Link to comment
Share on other sites

Success thanks bruno and teacher now all i have to do is get the internet runnins and i will be back in business . something about pppd not running if i dont get it going i will be back

Link to comment
Share on other sites

Great george !!If your "normal" entry for Mandrake in lilo works okay you can remove the "Mandrake-2" one ( we just added ) again . . . and run sbin/lilo again to write the new lilo to the MBR. ;)The Mandrake -2 was just a safety net ;):D Bruno

Link to comment
Share on other sites

understood bruno the regular one worked just fine . i havent taken the safety one out yet it may not be a bad idea to leave it just in case :D teacher i am running an external modem . and when i tried it a popup comes up saying smpppd may not be running . i havent played with it as yet . i will update on it just as soon as i mess it up :D :D :D ;) ;) :w00t: o:) o:) o:)

Link to comment
Share on other sites

Hi GeorgeGlad it works . . . . but you can safely remove the safety-one ( Mandrake -2 ) because it really is useless if the "normal"- one works . . . . ( I just was not sure if Mandrake 10.0 used udev and only in that case the Mandrake-2 was needed . . . . now I see it has no udev, the Mandrake-2 will not work anyway );) 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...