LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-02-2006, 02:51 PM   #1
Robeasts
Member
 
Registered: Dec 2005
Distribution: Ubuntu 6.10, Simply MEPIS 6.0
Posts: 35

Rep: Reputation: 15
Boot Issue


Here's what my boat loader looks like:

SUSE Linux 10.1-----------------------Image-----/boot/vmlinuz (/dev/hda6,root=/dev/hda6)
Windows-------------------------------Other-----/dev/hda1
FailSafe - Suse Linux 10.1------------Image-----/boot/vmlinuz (/dev/had6,root=/dev/hda6)
Previous Kernel - SUSE LINUX 10.1-----Image-----/boot/vmlinuz.previous (/dev/hda6,root=/dev/hda6)
Xen - SUSE LINUX 10.1-----------------Image-----/boot/vmlinuz-xen (/dev/hda6, root=/dev/hda6)
Previous Xen - SUSE LINUX 10.1--------Image-----/boot/vmlinuz-xen.previous (/dev/hda6, root=/dev/hda6)

I used to boot into 'SUSE Linux 10.1', but I updated it using smart. Everything seemed fine until I rebooted because now when I boot into that image it tries to boot up but reboots again. So I booted into 'Previous Kernel - SUSE LINUX 10.1' and successfully updated using Yast2 (kernel and all). If I still try to boot into 'SUSE Linux 10.1' it still reboots when it tries to boot up, but when I boot into 'Previous Kernel - SUSE LINUX 10.1', this is updated and I would like to "default boot" into that one.

Thanks for any help in advance.
 
Old 11-02-2006, 04:17 PM   #2
tidiman07
Member
 
Registered: Apr 2006
Distribution: Kubuntu 8.04
Posts: 129

Rep: Reputation: 15
If im uderstanding your question; you want to change the default boot from "suse linux" to "previous kernel- suse linux".
open the file, /boot/grub/menu.lst and look for line default 0. change it to 3 or watever number the system u want to set to default. ie: count number of lines, start with 0, of boot list; usually at end of document- where it looks like boot menu-- below.
Code:
SUSE Linux 10.1-----------------------Image-----/boot/vmlinuz (/dev/hda6,root=/dev/hda6)
Windows-------------------------------Other-----/dev/hda1
FailSafe - Suse Linux 10.1------------Image-----/boot/vmlinuz (/dev/had6,root=/dev/hda6)
Previous Kernel - SUSE LINUX 10.1-----Image-----/boot/vmlinuz.previous (/dev/hda6,root=/dev/hda6)
Xen - SUSE LINUX 10.1-----------------Image-----/boot/vmlinuz-xen (/dev/hda6, root=/dev/hda6)
Previous Xen - SUSE LINUX 10.1--------Image-----/boot/vmlinuz-xen.previous (/dev/hda6, root=/dev/hda6)
lol, if u get lost, let me know, im not good at giving directions.

Last edited by tidiman07; 11-02-2006 at 04:22 PM.
 
Old 11-02-2006, 04:25 PM   #3
tidiman07
Member
 
Registered: Apr 2006
Distribution: Kubuntu 8.04
Posts: 129

Rep: Reputation: 15
if u have problem understanding just do this at terminal
Code:
cat /boot/grub/menu.lst
and post it here; easier to consult problem.
 
Old 11-03-2006, 07:41 AM   #4
Robeasts
Member
 
Registered: Dec 2005
Distribution: Ubuntu 6.10, Simply MEPIS 6.0
Posts: 35

Original Poster
Rep: Reputation: 15
Thanks, I got it to boot into the one I want. The only thing different between line 1 and line 4 is line has /boot/vmlinuz and line 4 has /boot/vmlinuz.previous. Is that what was causing the problem in the first place? I assume that file has something to do with the kernel it boots into? So I took at look at both files and here is what I found:

vmlinuz -> vmlinuz-2.6.16.21-0.25-bigsmp
vmlinuz.previous -> vmlinuz-2.6.16.21-0.25-default

If I changed the symbolic link of vmlinuz to point to 'vmlinuz-2.6.16.21-0.25-default' would it fix the orginal problem of SUSE Linux 10.1 rebooting? But then what would happen to vmlinuz-2.6.16.21-0.25-bigsmp?


SUSE Linux 10.1-----------------------Image-----/boot/vmlinuz (/dev/hda6,root=/dev/hda6)
Windows-------------------------------Other-----/dev/hda1
FailSafe - Suse Linux 10.1------------Image-----/boot/vmlinuz (/dev/had6,root=/dev/hda6)
Previous Kernel - SUSE LINUX 10.1-----Image-----/boot/vmlinuz.previous (/dev/hda6,root=/dev/hda6)
Xen - SUSE LINUX 10.1-----------------Image-----/boot/vmlinuz-xen (/dev/hda6, root=/dev/hda6)
Previous Xen - SUSE LINUX 10.1--------Image-----/boot/vmlinuz-xen.previous (/dev/hda6, root=/dev/hda6)

Thanks again for all the help.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slack boot issue, no boot possible riscphree Slackware 2 10-14-2006 10:33 PM
Boot Issue, To much data during boot Red Knuckles SUSE / openSUSE 1 09-14-2006 12:10 PM
Please help with boot issue !flinga Linux - General 2 12-09-2005 12:50 PM
Boot Issue GAMEOVER Fedora 13 12-16-2004 06:22 PM
Boot issue GAMEOVER Fedora 2 12-15-2004 11:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:04 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