You are not logged in.

#1 2013-04-24 21:10:18

fawkes5
Member
From: Canada
Registered: 2012-12-23
Posts: 84

Boot partition - still need Boot dir on Root Partition?

Hello,

I was inspired by the arch beginners installation wiki to make a seperate boot partition. I did this.
However, after setting up my fstab, i tried rebooting and my system complained it couldn't find my boot files.
So i put the boot dir back on my root partition and it works.

If i have to keep a boot dir on my root partition, whats the point of a seperate boot partition?

Or am i doing something wrong?

Last edited by fawkes5 (2013-04-24 21:11:01)

Offline

#2 2013-04-24 21:19:05

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,071

Re: Boot partition - still need Boot dir on Root Partition?

Yes you are doing something wrong. If you have a separate boot, did you make sure that your bootloader (grub or syslinux) knows about it ?


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#3 2013-04-24 21:22:06

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,617

Re: Boot partition - still need Boot dir on Root Partition?

Partitions (etc.) need to be mounted to directories. So you need a directory (preferably empty) named boot at / if you want to use a separate boot partition.

Edit: Oops, I think Inxsible's grasp of the situation is probably better than mine... hmm

Last edited by alphaniner (2013-04-24 21:24:40)


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#4 2013-04-24 22:46:41

fawkes5
Member
From: Canada
Registered: 2012-12-23
Posts: 84

Re: Boot partition - still need Boot dir on Root Partition?

Inxsible wrote:

Yes you are doing something wrong. If you have a separate boot, did you make sure that your bootloader (grub or syslinux) knows about it ?

No i did not. Only my fstab knows about it.

I'm using syslinux. I'll check it out. Post back if i have any problems. Thank you both!

Offline

#5 2013-04-24 23:43:15

dag
Member
From: US
Registered: 2013-01-20
Posts: 216

Re: Boot partition - still need Boot dir on Root Partition?

the only diff is partition if no sepparatte partition is specified it will make a folder in / if a partition is specified it will mount it to the folder. fstab is looked at at boot. the only other seperate partion or linked file system that needs consideration is usr which needs a hook in mkinitcpio. syslinux.cfg needs to point to / either uuid or path.


--------------------------------------
alcoves wonder creates the wonder unto the ages; never lose that.

Offline

#6 2013-04-24 23:51:33

Trilby
Forum Moderator
From: Massachusetts, USA
Registered: 2011-11-29
Posts: 13,690
Website

Re: Boot partition - still need Boot dir on Root Partition?

syslinux.cfg may only need to point to the real root, but the MBR code needs to point to the boot partition.  fstab, mkinitcpio, and all such things are irrelevant if the MBR isn't pointing to a bootable kernel image.


InterrobangSlider
• How's my coding? See this page.
• How's my moderating? Feel free to email any concerns, complaints, or objections.

Offline

#7 2013-04-24 23:54:25

Scimmia
Bug Wrangler
Registered: 2012-09-01
Posts: 4,893

Re: Boot partition - still need Boot dir on Root Partition?

Syslinux uses the "bootable" flag. You need to change that to be the new boot partition.

Offline

#8 2013-04-25 00:12:52

fawkes5
Member
From: Canada
Registered: 2012-12-23
Posts: 84

Re: Boot partition - still need Boot dir on Root Partition?

I should of mentioned that i'm using GPT.

Offline

#9 2013-04-25 01:50:10

fawkes5
Member
From: Canada
Registered: 2012-12-23
Posts: 84

Re: Boot partition - still need Boot dir on Root Partition?

i think ill just reinstall syslinux. According to the arch wiki, the automatic install should take care of everything when my /boot partition is actually mounted [which it wasn't when i set up syslinux]
https://wiki.archlinux.org/index.php/Syslinux

Offline

#10 2013-04-25 01:50:54

Trilby
Forum Moderator
From: Massachusetts, USA
Registered: 2011-11-29
Posts: 13,690
Website

Re: Boot partition - still need Boot dir on Root Partition?

There is still a boot bit flag and "mbr code" (gptmbr).


InterrobangSlider
• How's my coding? See this page.
• How's my moderating? Feel free to email any concerns, complaints, or objections.

Offline

Board footer

Powered by FluxBB