POV-Ray : Newsgroups : povray.off-topic : Linux & drivers : Re: Linux & drivers Server Time
7 Sep 2024 09:20:19 EDT (-0400)
  Re: Linux & drivers  
From: Orchid XP v8
Date: 5 Sep 2008 13:44:12
Message: <48c16fec$1@news.povray.org>
>> The boot sector is really only part of one sector. That doesn't seem 
>> like enough room to write code to find NTLDR or whatever the second 
>> step of Linux boot code is (GRUB I assume, or LILO). Especially given 
>> the wide range of partition types and RAID types a boot partition is 
>> allowed to be on in Linux.
>>
>> How does it fit enough of the file system code into the boot mechanism 
>> to find the files it needs? Is there something special, such that 
>> (say) copying the file to a different place on the disk would keep 
>> things from booting?
> 
> 
> http://www.gnu.org/software/grub/manual/html_node/Bootstrap-tricks.html
> http://www.gnu.org/software/grub/manual/html_node/Images.html
> 
> I know from experience that moving stuff around on the boot partition 
> can break GRUB.

So the location of the real meat is hard-coded into the MBR. Neat...

-- 
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.