01-04-2005
linux will not boot, boot to grub prompt
my redhat 9 will not boot. We had a power failure and when the power came back, my redhat linux will not boot.
The machine come up to grub prompt.
I tried the following from grub prompt
root (hd0, then press tab key
partition num:0 filesystem type unknown, partition type 0x83
partition num:1 filesystem type is ext2fs, partition type 0x83
partition num:2 filesystem type is ext2fs, partition type 0x83
partition num:3 filesystem type is ext2fs, partition type 0x83
partition num:4 filesystem type is ext2fs, partition type 0x83
partition num:5 filesystem type is ext2fs, partition type 0x83
partition num:6 filesystem type unknown, partition type 0x83
partition num:7 filesystem type is ext2fs, partition type 0x83
partition num:8 filesystem type is ext2fs, partition type 0x83
my boot partition is on 0
so I issued root (hd0,0)
received the error message filesystem type unknown, partition type 0x83
setup (hd0)
checking if /boot/grub/stage1 exist ... no
checking if /grub/stage1 exist ...no
Also try
configfile /boot/grub/grub.conf
Error 15: file not found
configfile /grub/grub.conf
Error 15: file not found
grub> find /boot/vmlinuz
Error 15: file not found
grub> find /boot/initrd.gz
Error 15: file not found
Finally, I tried copy stage1 file and stage2 from an identical machine
to floppy disk then
grub>root (fd0)
error filesystem type unknown, using whole disk
grub>setup (fd0)
error 17, cannot mount selected parttion
grub>quit
can you help, please.
10 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. Linux
I have an issue with booting NTFS partitions with Grub.
I have two HHD
1st HDD with Red Hat 9.0 and Grub as bootloader
2nd HDD with 8 Win partitions all ntfs.
I have added the following line in my grub.conf:
title Windows2000/Domino 6
root (hd1,0)
makeactive
chainloader +1
When I... (4 Replies)
Discussion started by: KDE Man
4 Replies
3. UNIX for Dummies Questions & Answers
Hi!
I got some serious problems with booting the computer. When started it prints GRUB GRUB GRUB all over the screen. tchan on #grub tried to help me but with no result. Here is the log.
Mabey there is something that we have missed?:confused: (3 Replies)
Discussion started by: Barfly.se
3 Replies
4. UNIX for Dummies Questions & Answers
Hello,
I'm working on a x86 machine with 3 disks installed. I need to boot from disk to disk, but I cannot figure out how to do this using Grub. The O/S is Solaris 10 and grub version is 0.95
Can anyone give me any help with this?
Thanks,
James. (0 Replies)
Discussion started by: eeijmae
0 Replies
5. UNIX for Advanced & Expert Users
Hello,
I am using debian-5.0.0(lenny) . I installed windows xp(a hacked version) on a usb stick. this stick works perfectly well and boots off a windows system successfully.
but on linux it is finding problems to do so.
So I finally decided to put a grub entry to boot off the usb HDD.
... (8 Replies)
Discussion started by: gaurav1086
8 Replies
6. Ubuntu
I am not able to boot into my ubuntu. Grub gives me this message
How do I boot linux? (6 Replies)
Discussion started by: locoroco
6 Replies
7. UNIX for Advanced & Expert Users
Hi All,
I have successfully backup & restore (using tar) one of my Debian Lenny Servers.
On the restore server (standby machine), everytime i have to erase the disk & extract the tar backup.
I want to extract the tar on the running restore server on a directory for e.g /systembackup-01,... (11 Replies)
Discussion started by: coolatt
11 Replies
8. Solaris
Hi,
i am running an old Opensolaris 5.11 snv_111b on an x86 server. After almost 4 years of successful service, last night out of the blue started to refuse all connections to it's services, ssh, http,etc. The only visible solution at that time was a restart. But now instead of booting the... (2 Replies)
Discussion started by: d_oilen
2 Replies
9. Solaris
Hi Solaris 10 Experts,
I am wondering what is the correct syntax to edit in Grub when trying to specify the local ZFS boot disk while booting up from a Solaris 10 x86 64bits DVD installation disk. In other word, I try to boot up from local disk without removing the Solaris installation disk... (0 Replies)
Discussion started by: gjackson123
0 Replies
10. UNIX for Beginners Questions & Answers
Hi, someone knows how can I boot my OS or cdrom from a Grub Minimal_Bash? :confused: sorry, I´m a dummy
I explain, when I start loading the OS, I get errors, and ends up in the grub bash. This is the minimal_bash and I have no idea of any command. It tells me "unknow partition". The problem is... (0 Replies)
Discussion started by: veravera
0 Replies
LEARN ABOUT DEBIAN
update-grub
update-grub(8) System Manager's Manual update-grub(8)
NAME
update-grub - program to generate GRUB's menu.lst file
SYNOPSIS
update-grub
DESCRIPTION
update-grub is a program used to generate the menu.lst file used by the grub bootloader. It works by looking in /boot for all files which
start with "vmlinuz-". They will be treated as kernels, and grub menu entries will be created for each. It will also create the initial
menu.lst if none exists, after prompting the user. It will also add initrd lines for ramdisk images found with the same version as kernels
found. e.g. /boot/vmlinuz-2.4.5 and /boot/initrd-2.4.5 will cause a line of "initrd=/boot/initrd-2.4.5 or similar to be added for the ker-
nel entry in the menu.lst.
After update-grub has been run for the first time, the user is required to edit the generated menu.lst. The user must set the two options
update-grub uses. Then re-run the update-grub script to update the menu.lst file using the default's that have been set.
These are the options passed to the linux kernel:
# kopt=root=/dev/hda1 ro
Everything after "kopt=" is passed to the kernel as parameters. See bootparam(7) for more information.
This is the grub device from which grub loads the kernel:
# groot=(hd0,1)
(hd0,1) is a partition in grub notation. See grub(8) for more information.
This option controls if grub should create the alternative boot options in the menu entries
# alternative=true
# alternative=false
This option controls if grub should lock the alternative boot options see grub(8) for more information.
# lockalternative=true
# lockalternative=false
This option controls if grub should lock the old kernels.
# lockold=true
# lockold=false
This options controls what is used for the alternative boot options, multiple altoptions lines are allowed.
# altoptions=(some description) some kernel command line options
# altoptions=(recovery option) single
The description is placed in '()' and the kernel command line options follow that.
# updatedefault=true
# updatedefault=false
This option controls if grub should update the default entry to keep booting the same kernel even if a new one is installed.
The update-grub script can be ran automagically from the /etc/kernel-img.conf file by adding the following lines:
postinst_hook = update-grub
postrm_hook = update-grub
do_bootloader = no
For further information related to /etc/kernel-img.conf, see the manpage kernel-img.conf(5).
SEE ALSO
grub(8), grub-install(8), kernel-img.conf(5) (contained in the kernel-package package), bootparam(7).
The full documentation for grub is maintained as a Texinfo manual in the grub-legacy-doc package. If the info and grub programs are prop-
erly installed at your site, the command
info grub
should give you access to the complete manual.
AUTHOR
This manual page was written by Jason Thomas <jason@debian.org>, for the Debian GNU/Linux system (but may be used by others).
Jason Thomas June 18, 2001 update-grub(8)