niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
· nixdoc.net · man pages · Linux HOWTOs · FreeBSD Tips · Forums
navigation Forum index » *nix » Linux » Setup
install (fd0)/stage1 d (hd0) (fd0)/stage2
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
Author Message
Douglas Mayne
*nix forums Guru


Joined: 23 Feb 2005
Posts: 378

PostPosted: Thu Jul 13, 2006 1:41 pm    Post subject: Re: install (fd0)/stage1 d (hd0) (fd0)/stage2 Reply with quote

On Thu, 13 Jul 2006 02:09:34 -0700, xkarl wrote:

Quote:
My hd0 is fat,
hd0 is 512 bytes, the MBR. It doesn't use FAT.


Quote:
my floppy is fat too, and there are stage1 stage2 and
menu.lst on floppy. I use floppy booting PC, i want to install Grub on
(hd0) ,but there is no stage1 and stage2 on (hd0), I use this command:
grub>install (fd0)/stage1 d (hd0) (fd0)/stage2 p (fd0)/menu.lst
grub>reboot
But when booting from (hd0) only load stage1(because it stoped on
"Grub",no"stage2 loading .......") Obviously stage2 and menu.lst is not
loaded correctly. I want to kown what show i do to install Grub on
(hd0) when there is no stage2 on hd0?
THanks!

Note: comment inline.


You have identified the problem:
The grub stage files are not installed on the hard disk.

Solution: Install the grub stage files, and the grub application on your
hard disk before installing it as the loader.

How: ?
You can install the grub application using whatever method you would
normally use to install software on your system. You don't say which
GNU/Linux distro you are using, so I can only tell you in general
terms. When the application have been installed, then you should verify
the grub stage files are present at /boot/grub. Also, make a menu.lst (or
grub.conf) at that location, too.

Once grub is installed (the application), then launch it from a _bash_
shell:

root@somebox# grub --no-floppy

grub>root (hdx,y)
grub>setup (hdx)
grub>quit

Watch for errors after each command. I have substituted x and y for
numeric values which are system dependant. For example, if you have
installed grub on your primary hard disk at partition 1, then x=0 and y=0.
(remember: grub counts starting at zero.) Also, the root command in this
context tells grub where it should look for its stage files.

There may be some other ways around this problem because grub is
a flexible loader, but I have explained the standard procedure. You
should study of the grub manual until you understand what you are doing
before you break something. Making a mistake when installing the loader
can leave your system unbootable, or worse.

http://www.gnu.org/software/grub/manual/grub.html

--
Douglas Mayne
Back to top
karl121212@163.com
*nix forums beginner


Joined: 12 Jun 2006
Posts: 5

PostPosted: Thu Jul 13, 2006 9:09 am    Post subject: install (fd0)/stage1 d (hd0) (fd0)/stage2 Reply with quote

My hd0 is fat, my floppy is fat too, and there are stage1 stage2 and
menu.lst on floppy. I use floppy booting PC, i want to install Grub on
(hd0) ,but there is no stage1 and stage2 on (hd0), I use this command:
grub>install (fd0)/stage1 d (hd0) (fd0)/stage2 p (fd0)/menu.lst
grub>reboot
But when booting from (hd0) only load stage1(because it stoped on
"Grub",no"stage2 loading .......") Obviously stage2 and menu.lst is not
loaded correctly. I want to kown what show i do to install Grub on
(hd0) when there is no stage2 on hd0?
THanks!
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
The time now is Thu Nov 27, 2014 5:18 am | All times are GMT
navigation Forum index » *nix » Linux » Setup
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts New Postfix install problem edlentz Postfix 0 Wed Jul 22, 2009 1:45 pm
No new posts Install suse from USB without BIOS support vjy04 Suse 0 Tue Jun 24, 2008 8:57 am
No new posts Install suse from USB without BIOS support vjy04 Suse 0 Tue Jun 24, 2008 8:56 am
No new posts Install suse from USB without BIOS support vjy04 Suse 0 Tue Jun 24, 2008 8:56 am
No new posts Install suse from USB without BIOS support vjy04 Suse 0 Tue Jun 24, 2008 8:55 am

Copyright © 2004-2005 DeniX Solutions SRL
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum |  email marketing service
 
Privacy Policy
[ Time: 0.0367s ][ Queries: 20 (0.0063s) ][ GZIP on - Debug on ]