LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 11-03-2004, 03:53 PM   #1
hakkinen
LQ Newbie
 
Registered: Oct 2004
Posts: 13

Rep: Reputation: 0
boot problem


In Suse i change bootloader , i make default win xp but now i cant open linux .when i start my computer grub is coming but there are two boot options xp and floopy and i have no boot disk .how can i solve? how can i start linux?
 
Old 11-03-2004, 04:39 PM   #2
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
Do you still have your SuSE installation disk ? If so, set your Bios to boot from CD, and when the SuSE welcome screen appears select Rescue/Recovery mode. This will boot up the system, and you can then edit the Grub menu, or copy across from the backup that's probably sitting right next to it, and reboot. Voila !

Cheers,

mj
 
Old 11-03-2004, 05:24 PM   #3
hakkinen
LQ Newbie
 
Registered: Oct 2004
Posts: 13

Original Poster
Rep: Reputation: 0
yes i have installation disk but when i run rescue mode ,rescue login line comes and i dont know what i do.i dont know write which commands?
 
Old 11-03-2004, 05:47 PM   #4
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
Righto, then we're down into the trenches First, print out a cheat sheet for the Vim editor from www.vim.org from a separate computer, then login as root (from memory this will be the default under the rescue login) and then type:
Code:
# cd /
# mkdir oldsystem      (or whatever you want to mount it as)
# mount /dev/hda1 oldsystem       (replace hda1 with correct partition)
# cd oldsystem/boot/grub
# vim boot.lst
Then edit at will, save, and reboot. That should be it. As a few pointers to the Vim editor, use the arrow keys to move around, then type 'i' to enter 'insert' mode, type whatever you want, then press escape to exit to control mode. Then type ':wq' to write and then quit the editor.

The lines you want to make sure are there (and it may just be a matter of uncommenting the lines, if they are still there in the file) will be something along the lines of:
Code:
title           SuSE linux
root            (hd0,2)
kernel          /boot/vmlinuz-2.somekernel root=/dev/hda1 ro acpi=on vga=0x317
initrd          /boot/initrd.img-somekernel
savedefault
boot
Good luck !

mj

PS. Oh, check whether you have a backup Grub menu.lst first after mounting your old system - <ls /oldsystem/boot/grub/menu.lst*>. If there is one with an extension of .bak, have a look at that (<less menu.lst.bak> and if it contains the lines you want, the just rename it (<mv menu.lst.bak menu.lst>).

Last edited by mjrich; 11-03-2004 at 05:52 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help fixing boot problem on Ubuntu/WinXp dual-boot Ay-Karamba! Linux - General 5 09-06-2005 09:20 PM
solaris boot problem boot error loading interpreter(misc/krtld) Johncy_j Solaris / OpenSolaris 5 08-18-2005 01:47 AM
Boot problem w/FC2 - DISK BOOT FAILURE maugou Fedora 2 06-30-2004 06:37 PM
problem with Installing red hat linux dual boot(/boot < for 1024 cylinders ) praveenb Linux - Newbie 2 02-13-2004 08:49 PM
Problem with Mandrake 9 boot /Debian boot on 1 PC cmisip Linux - Distributions 4 11-04-2002 05:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 02:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration