Results 1 to 5 of 5
I have to re-install the grub loader on one of my systems
My Centos installation has 3 partitions
100 meg for /boot
6000 for swap
and the rest is created ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 12-06-2012 #1Just Joined!
- Join Date
- Jun 2011
- Posts
- 8
question re: reinstalling grub loader
I have to re-install the grub loader on one of my systems
My Centos installation has 3 partitions
100 meg for /boot
6000 for swap
and the rest is created for /
my device names are:
/dev/cciss/c0d0p1 (boot)
/dev/cciss/c0d0p2 (swap)
and /dev/cciss/c0d0p3 ( / ) respectively.
I am not sure which partition (the boot ‘p1′ or the ‘/’ ‘p3′ should contain the grub loader. My /boot partition is marked as boot with an asterisk?
any help would be appreciatedLast edited by jjj0923; 12-06-2012 at 05:28 PM.
- 12-06-2012 #2Linux Enthusiast
- Join Date
- Apr 2012
- Location
- Virginia, USA
- Posts
- 573
It should be /dev/dciss/c0d0
Grub will be installed on the mbr, which is the first few sectors of the entire disk that hold the partition information as well.
- 12-06-2012 #3Just Joined!
- Join Date
- Jun 2011
- Posts
- 8
- 12-06-2012 #4Just Joined!
- Join Date
- Jun 2011
- Posts
- 8
I did this:
/sbin/grub-install /dev/cciss/c0d0
and now the system reboots and winds up at the 'grub >' prompt
what now?
there was no grub.conf created.
what next?
- 12-07-2012 #5Linux Guru
- Join Date
- Oct 2007
- Location
- Tucson AZ
- Posts
- 2,563
Was this system previously functioning, booting?
Did you have a grub.conf file, which would indicate Grub Legacy?
Do you have a Live CD you can use to mount the boot and/or root partitions to see what is there?
What is the output of fdisk -l command as root? (Lower case Letter L in the command)


Reply With Quote

