02-21-2005
Boot on your GNU/Linux distro's recovery CD or floppy recovery disk you made when you installed your system. Once booted up, mount your filesystem. Once you have your root partition mounted, just chroot to the mounted filesystems. The re run your grub installation.
Bascially, boot up, create a mount point, mount the necessary partitions accordingly. I am not sure of the command to re-run grub, as I only use LILO.
For example after booting the recovery medium:
cd /
mkdir /mnt2
mkdir /mnt/boot
mkdir /mnt/usr
mount /dev/hda1 /mnt2
mount /dev/hda2 /mnt/boot
mount /dev/hda3 /mnt2/usr
chroot /mnt2
Then re-run your grub bootloader as per instructions.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have installed Linux 7.2 on a IBM xseries 235 server with 5 scsi hard drives and ServerRaid-5i Ultra320 scsi controller.
I started my installation by configuring the raid controller. I created 2 arrays, raid 1 and raid5. I then proceeded to install Linux and load the drivers.
After the... (2 Replies)
Discussion started by: cstovall
2 Replies
2. UNIX for Dummies Questions & Answers
Ok, here's the thing... I have a computer that has both Fedora Core 3 Linux and Windows XP Pro. I have it so the MBR loads in the Windows style (black screen with a 30 second pause to choose either Fedora Core or Windows) Now if I select Fedora Core, it starts its own OS selector (I believe it's... (11 Replies)
Discussion started by: mattzway
11 Replies
3. UNIX for Dummies Questions & Answers
Is there a way to get rid of GRUB and any Linux OS selector so that Linux starts automatically without having to wait for GRUB to go through it's OS choice process? I want to keep the Windows OS selector and have it so when I select Linux, it goes right to Linux and not another selector. Know what... (0 Replies)
Discussion started by: mattzway
0 Replies
4. Solaris
Hello.
I had installed solaris 10 in morning , and all was running fine... I just logged out and logged in with another user ID oracle - It got stuck and then I pressed the button for restart.
Now I see only word GRUB written in top line rest everything is black.
What to do? (2 Replies)
Discussion started by: panchpan
2 Replies
5. Red Hat
Hi Gurus.....
My system is dual boot, having Win XP & Red Hat Enterprise Linux 5. Initially I use to boot linux by pressing "tab" key, which was showing me two OS listed in Grub. Since last few days, I'm not able to get that grub screen even if I press "tab" or any key while my system... (5 Replies)
Discussion started by: Amol21
5 Replies
6. Red Hat
I re-installed grub on /dev/sdb on a 3ware raid machine and now the grub splash screen is not displayed when booting. Server when boots up comes and halt in the grub menu and I need to manually load kernel and initrd to get the machine up. I have not changed any grub setting.
I used the command... (0 Replies)
Discussion started by: anil510
0 Replies
7. UNIX for Advanced & Expert Users
Hi all,
This topic is purely on a problem in installing grub in my LINUX BMR process... A major problem too..
I am designing Linux BMR where i do the following..
Backup the " / " as a whole .. with partition details ..etc
And using the Knoppix Live CD i first create the partitions... (1 Reply)
Discussion started by: selvarajvs
1 Replies
8. Ubuntu
Hi,
a little while ago, one of the GPT Partitioned hard disk had gone faulty in a Mirror RAID and is now successfully replaced.
here is how I did that.
1) created identical partition table on the new disk.
2) attached the mirrors using md commands.
The whole procedure is given... (5 Replies)
Discussion started by: busyboy
5 Replies
9. UNIX for Dummies Questions & Answers
Hi everyone,
I am having trouble of understanding the concept of GRUB bootloader in Linux.
My questions are-:
Do we install GRUB first and then install Linux ?
Does GRUB act as a bootloader for Windows if we are trying to dual boot Windows and Linux ? Or does GRUB load the Windows... (4 Replies)
Discussion started by: sreyan32
4 Replies
LEARN ABOUT DEBIAN
linux-version
LINUX-VERSION(1) General Commands Manual LINUX-VERSION(1)
NAME
linux-version - operate on Linux kernel version strings
SYNOPSIS
linux-version compare VERSION1 OP VERSION2
linux-version sort [--reverse] [VERSION1 VERSION2 ...]
linux-version list [--paths]
DESCRIPTION
linux-version operates on Linux kernel version strings as reported by uname -r and used in file and directory names. These version strings
do not follow the same rules as Debian package version strings and should not be compared as such or as arbitrary strings.
compare VERSION1 OP VERSION2
Compare version strings, where OP is a binary operator. linux-version returns success (zero result) if the specified condition is
satisfied, and failure (nonzero result) otherwise. The valid operators are: lt le eq ne ge gt
sort [--reverse] [VERSION1 VERSION2 ...]
Sort the given version strings and print them in order from lowest to highest. If the --reverse option is used, print them in order
from highest to lowest.
If no version strings are given as arguments, the version strings will instead be read from standard input, one per line. They may
be suffixed by arbitrary text after a space, which will be included in the output. This means that, for example:
linux-version list --paths | linux-version sort --reverse
will list the installed versions and corresponding paths in order from highest to lowest version.
list [--paths]
List kernel versions installed in the customary location. If the --paths option, show the corresponding path for each version.
AUTHOR
linux-version and this manual page were written by Ben Hutchings as part of the Debian linux-base package.
30 March 2011 LINUX-VERSION(1)