Results 1 to 4 of 4
Okay, I just went through... most of a Gentoo installation and failed around the part with the grub bootloader.
First of all, emerge grub gave me some errors about not ...
- 08-31-2005 #1Just Joined!
- Join Date
- May 2005
- Posts
- 9
Newbie Gentoo partitioning question
Okay, I just went through... most of a Gentoo installation and failed around the part with the grub bootloader.
First of all, emerge grub gave me some errors about not being able to write to boot. I understand this, because I didn't set up a boot partition for Gentoo, only a root and a swap. Now, do I need to have a boot partition?
The fdisk in Gentoo showed me my Windows partition, some 60 GB, was labeled as the boot partition, and I had some leftover linux partitions from Ubuntu that I wrote over with a filesystem and that.
To be honest, I have no clue what to do with the partitions. I took a quick glance around these forums but didn't find an answer, so I hope I'm not stepping on anyone's toes.
Another tidbit, when I went to /boot, it gave me the contents of the root directory for the Windows partition.
I'm guessing only one filesystem can be a boot partition and that I would end up having to move the windows partition, but I'm not sure and I don't want to go messing with things that might not need to be messed with.
Thanks in advance.
P.S. first Gentoo install if you haven't figured it.
- 08-31-2005 #2Just Joined!
- Join Date
- May 2005
- Posts
- 9
I'd also like to say that I deleted the partitions and fixed the mbr from the Windows recovery console. So I am ready to do a full install again.
- 09-01-2005 #3
No, you do not need a separate /boot partition.
/root and /boot can be the same partition.How to know if you are a geek.
when you respond to "get a life!" with "what's the URL?"
- Birger
New users read The FAQ
- 09-01-2005 #4Linux Guru
- Join Date
- May 2004
- Location
- forums.gentoo.org
- Posts
- 1,814
Re: Newbie Gentoo partitioning question
It's not so simple as that. In order to boot, the following (and nothing more) must be satisfied:
Originally Posted by StayPuft - The BIOS must know what device to boot to,
The boot device must be bootable (it must have a bootloader written to it's first sector),
The boot device's bootloader must be configured to hand off operation to an operating system.
In your situation, you may create a /boot partition anywhere on your hard drive or you may have the /boot directory on the root partition as budman7 says. To boot the hard drive, the BIOS expects to find a bootloader written to the MBR, but that will not affect Windows at all except for over-writing Windows' MBR (which may easily be restored).
The bootloader on the MBR is only 512 bytes. the Linux /boot directory or partition is just another directory which happens to hold the kernel and initrd (if used) as well as the Grub menu (grub.conf) and Grub stages 1 and 2 which are the files which are called by the bootloader (at only 512 bytes big...) to get the system up./IMHO
//got nothin'
///this use to look better


Reply With Quote
