View previous topic :: View next topic |
Author |
Message |
dman777 Veteran
Joined: 10 Jan 2007 Posts: 1004
|
Posted: Thu Aug 28, 2008 5:14 am Post subject: The boot process and the /boot partition role |
|
|
In my system I have the /boot on one partition and the /root on another partition. I am trying to understand the role of the /boot partition.
1). I know the /boot partition isn't the MBR, so what exactly resides in the /boot partition? Is the Grub software in there?
2). When I first installed Gentoo I did this code:
Code: | # mount /dev/sda3 /mnt/gentoo
# mkdir /mnt/gentoo/boot
# mount /dev/sda1 /mnt/gentoo/boot
|
When mounting sda1 /mnt/gentoo/boot/ when /mnt/gentoo belongs on sda3, what is this tech. called? hardlink?
3). Does the kernel bzimage stay on sda1 or sda3? |
|
Back to top |
|
|
alex.blackbit Advocate
Joined: 26 Jul 2005 Posts: 2397
|
Posted: Thu Aug 28, 2008 7:39 am Post subject: |
|
|
dman777, dman777 wrote: | When mounting sda1 /mnt/gentoo/boot/ when /mnt/gentoo belongs on sda3, what is this tech. called? hardlink? |
that has nothing to do with a hardlink. you just mounted a partition in your filesystem structure.
what exactly don't you understand? just take a look at the content of that partition. most likely it will be true that the grub files are in there, and the kernel image too, but nobody except you can know what exactly is the case on your machine. |
|
Back to top |
|
|
tabanus l33t
Joined: 11 Jun 2004 Posts: 638 Location: UK
|
Posted: Fri Aug 29, 2008 4:49 pm Post subject: Re: The boot process and the /boot partition role |
|
|
How does someone with >200 posts not know that?
Assuming this is a for real question, grub is installed into the MBR of the first hard disk that your PC boots from, usually sda or hda. When you do that installation, you tell grub where to look for its configuration files, i.e. on a Gentoo system: grub.conf. That tells grub where to look for the kernel image. For convenience, most Gentoo users put these on the same partition, aka the boot partition. By doing this, and not automatically mounting it after booting, you protect the boot files from being accidentally overwritten. _________________ Things you might say if you never took Physics: "I'm overweight even though I don't overeat." - Neil deGrasse Tyson |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|