The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Operating Systems > Linux > Debian
.
google unix.com



Debian Debian GNU/Linux is a free distribution of the GNU/Linux operating system.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
need couple of ksh tricks please JamesByars Shell Programming and Scripting 4 02-23-2008 03:07 PM
grub problem- keeps rebooting as soon as it tries to do grub moesays UNIX for Dummies Questions & Answers 1 11-07-2007 05:46 AM
Attn! A couple quick questions about Linux [Help] kyoist Linux 2 12-09-2005 07:42 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 03-06-2007
akbar akbar is offline
Registered User
  
 

Join Date: Feb 2007
Posts: 33
A couple of grub questions.

1) After I install a new kernel in Debian Sarge, it updates my menu.lst file for grub, but incorrectly. It assumes it should boot from partition hd0,0, but this is incorrect. How do I change this faulty assumption?

2) If grub fails to find a kernel, grub allows me to enter a path to the kernel. Is there a way to list partitions/paths within grub, so that I know the correct path/partition of the kernel to boot?
  #2 (permalink)  
Old 03-06-2007
cbkihong cbkihong is offline Forum Advisor  
Advisor
  
 

Join Date: Sep 2002
Location: Hong Kong, China
Posts: 1,624
1) Just change menu.lst and ensure the settings are right. Normally I will copy the compiled kernel myself and not rely on any automatic means of updating the configuration. That's too dangerous.

2) In a Grub shell, you can use the geometry command to view a list of partitions. Also, normally, I am able to enter "root (hd0,0)/" and then <TAB> to see the list of files and dir without mounting. Of course you don't press enter to commit the command. Just use it to explore the filesystem and erase the command when done.

Here is what it looks:


Code:

grub> root (hd0,0)/<TAB>
 Possible files are: lost+found home proc sys var tmp dev etc root selinux lib
usr bin boot media mnt opt sbin srv misc .autorelabel .autofsck net .lesshst se
crets.tdb .vmware

Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 12:00 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0