Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Grub Loader entry overwritten Post 59464 by TioTony on Monday 20th of December 2004 11:15:42 PM
Old 12-21-2004
If you still have the RH 8.0 media just insert CD1. When you get the 'boot' prompt type 'linux rescue'. Follow the prompts and it should locate your RH image. You will have to figure out what your boot device is at that point (like hd0, hd1, etc) and run 'grub-install'. Do a quick lookup on google and you will find plenty of info on grub-install.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

grub problem- keeps rebooting as soon as it tries to do grub

Hi, I installed solaris 10 a few weeks ago. It was working fine during the past two weeks. However, now when I start to load to the drive, I get this problem: The BIOS screen comes up like normal, then screen goes blank and a message "Grub loading stage 2" flashes real quick then the computer... (1 Reply)
Discussion started by: moesays
1 Replies

2. UNIX for Dummies Questions & Answers

Grub and longhorn loader

I currently have Gutsy, Fedora Core 7, and Vista running on the same hard disk and want to add XP to it. XP will of course kill my grub which I can get back with supergrub easily. I have no worries that my two Linux Distros will come back when I do this because Grub only points from the mbr to... (2 Replies)
Discussion started by: dancingfool
2 Replies

3. Solaris

overwritten rootdisk?

Hi, The dump device on my system was set to /dev/dsk/c0t0d0s7. I have done a savecore -Lv on the system which worked fine. I'm wondering have I overwritten the rootdisk here by mistake? The system is still up but will need to be rebooted due to an error on it. Will it come back up? ... (8 Replies)
Discussion started by: gwhelan
8 Replies

4. Programming

variables overwritten

Hi, i have some problems with the following code: char *tab_path; char *sep=" \t\n"; char line; char *p; FILE * file; int i = 0; if(fgets(line,MAXLINE,file)!=NULL){ if((p=strtok(line,sep))!=NULL)tab_path=p; while((p=strtok(NULL,sep))!=NULL){ i++; ... (4 Replies)
Discussion started by: littleboyblu
4 Replies

5. Ubuntu

grub loader

i was dual booting vista and ubuntu but i have now taken off vista. however the microsoft bootloader is still in the list. how do i get rid of it and automatically boot into ubuntu? (13 Replies)
Discussion started by: bcbotha
13 Replies

6. Solaris

GRUB does not load Ms Winows loader

Hi to everyone ;) Yesterday I had to reinstall my dual boot because my bank smart card reader does not work with Solaris so I reinstalled Solaris after I installed Windows 7. When I turn on PC I get grub stage 2 and Solaris has made an entry in menu.lst but does not boot windows . Each OS... (4 Replies)
Discussion started by: solaris_user
4 Replies

7. Shell Programming and Scripting

file is getting overwritten

Hello All, I am writing a bash script on Solaris O/S. I looping through an array. For each iteration, i connect to the datatabase and use select statement. Output of which is redirected to .CSV file. here is the code for it. output="loop.csv" elements=${#currency_pair} ... (3 Replies)
Discussion started by: arundhati_s
3 Replies

8. Red Hat

Can we specify which grub.conf to use in grub-install.

Hi, Can we specify which grub.conf to use while installing grub on RHEL. We are working on application which requires different grub configurations needed, depending on certain criteria we need to update grub with correct grub.conf. Can we use grub-install for this purpose? (4 Replies)
Discussion started by: successlin
4 Replies

9. How to Post in the The UNIX and Linux Forums

Help me, write a bash script to delete parent entry with all their child entry in LDAP UNIX server

Hi All, Please help me and guide me to write a bash/shell script on Linux box to delete parent entry with all their child entries. example: Parent is : ---------- dn: email=yogesh.kumar@wipro.com, o=wipro, o=in child is: ---------- dn: cn: yogesh kumar, email=yogesh.kumar@wipro.com,... (1 Reply)
Discussion started by: Chand
1 Replies

10. Solaris

How to recover x86 Solaris 10 u10 boot record/grub menu overwritten by Debian 9?

I installed x86 Solaris 10 update 10 after Windows XP, later I removed xp and installed Debian 9 stretch on the same partition but, Debian couldn't find any other os so it deleted Solaris 10 grub or did something like that I couldn't got. I thought I would be able to recover the lost record by... (0 Replies)
Discussion started by: vectrum
0 Replies
GRUB-SETUP(8)						  System Administration Utilities					     GRUB-SETUP(8)

NAME
grub-setup - set up a device to boot using GRUB SYNOPSIS
grub-setup [OPTION...] DEVICE DESCRIPTION
Set up images to boot from DEVICE. You should not normally run this program directly. Use grub-install instead. -a, --allow-floppy Make the drive also bootable as floppy (default for fdX devices). May break on some BIOSes. -b, --boot-image=FILE Use FILE as the boot image [default=boot.img] -c, --core-image=FILE Use FILE as the core image [default=core.img] -d, --directory=DIR Use GRUB files in the directory DIR [default=/boot/grub] -f, --force Install even if problems are detected -m, --device-map=FILE Use FILE as the device map [default=/boot/grub/device.map] -r, --root-device=DEV Use DEV as the root device [default=guessed] -s, --skip-fs-probe Do not probe for filesystems in DEVICE -v, --verbose Print verbose messages. -?, --help give this help list --usage give a short usage message -V, --version print program version Mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options. DEVICE must be an OS device (e.g. /dev/sda). REPORTING BUGS
Report bugs to <bug-grub@gnu.org>. SEE ALSO
grub-install(8), grub-mkimage(1), grub-mkrescue(1) The full documentation for grub-setup is maintained as a Texinfo manual. If the info and grub-setup programs are properly installed at your site, the command info grub-setup should give you access to the complete manual. grub-setup (GRUB) 1.99-12ubuntu5 October 2011 GRUB-SETUP(8)
All times are GMT -4. The time now is 03:25 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy