bluesheet at doramail.com
Mon Jan 24 01:51:44 PST 2005
Yes, I also try this method, but the content of the /boot is not the content
of original /dev/hda1, when the system start, it will use the default /boot
inside the /, and execute the /etc/fstab, then it will mount the /dev/hda1
into /boot and overwrite the original /boot.
The other question is, why the GRUB menu didn't execute when /boot and /
partition are separated.
Sorry that, my english is not good, if have some misunderstand please
"Shelton" <shelton at onr.com> wrote in message
news:41F4B3C6.7020807 at onr.com...
> Bluesheet wrote:
> > Dear all,
> > I have a question about GRUB.
> > I found a funny problem with GRUB.
> > when I install linux and make a 100MB partition for "/boot(/dev/hda1)",
> > the system install GRUB, it will ask me for the location of GRUB. Mostly
> > have two location, "/dev/hda(MBR)" and "/dev/hda1".The problem is to
> > which location is correct?
> > when I choose to install in "/dev/hda(MBR)", after that, the system will
> > startup without errors, and when I use "mount" to show the mount point
> > the system, the system didn't mount "/dev/hda1(/boot)", and the
> > will not have "/dev/hda1(/boot)" information on it; and the /boot will
> > existed inside the "/", so the partition "/dev/hda1" will empty and
> > use for the system.
> > But when I change the location to "/boot(/dev/hda1)" the system will
> > grub problem when the grub start, it didn't show the GRUB menu, it only
> > the grub command line, when I type...
> > grub>root (hd0,0)
> > grub>kernel /vmlinuz ro root=/dev/hda2
> > grub>boot
> > the system will startup, after the system start, I use "mount" to show
> > mount point of the system, it will exists "/dev/hda1(/boot)" and the
> > "/dev/hda1" will correctly mount into the system, but the main problem
> > the GRUB didn't show the menu? the /grub/grub.conf and /etc/fstab are
> > correct, why?
> > Is I missing sth when I install GRUB?
> > Here I make a summary of my question
> > Making 100MB partition for /boot and install GRUB.
> > Grub install in "/dev/hda(MBR)", the system didn't mount and use
> > /dev/hda1(/boot), it's empty, the system will make a new /boot partition
> > inside "/".
> > Grub install in "/dev/hda1(/boot)", the system didn't load the GRUB
> > must to use command mode to startup the system, and "/dev/hda1(/boot)"
> > will used by the system.
> > Thanks. Please give me some suggestions. ^_^
> this is similar to my setup.
> add a line to /etc/fstab describing your /boot partition.
> /dev/hda1 /boot ext3 defaults 1 2
> then install grub to the MBR of /dev/hda
> fstab is not a dynamic file.
> partitions and their mount points must be manually added to /etc/fstab
> hope this helps.
More information about the lfs-support