![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| 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 |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
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? |
|
||||
|
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 |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|