All of lore.kernel.org
 help / color / mirror / Atom feed
* partition layouts
@ 2005-04-05  0:38 Hollis Blanchard
  2005-04-05  4:55 ` Vernon Mauery
                   ` (3 more replies)
  0 siblings, 4 replies; 27+ messages in thread
From: Hollis Blanchard @ 2005-04-05  0:38 UTC (permalink / raw)
  To: The development of GRUB 2

I've been thinking about how to install grub2 on an Open Firmware 
system. Here's one possibility:
	/boot -- Linux-native filesystem (e.g. ext3)
		holds kernels, initrd, etc
	/boot/grub -- firmware-native filesystem (on Mac HFS+, on others FAT, 
etc)
		holds grub executable, grub.cfg, modules

The grub ELF file must live on a firmware-native filesystem. When run, 
it can find out what partition it was booted from, so that is a natural 
place to load grub.cfg from as well (and why not modules while we're at 
it?). Thus this is the value of the "prefix" GRUB environment variable.

When booting kernels from another partition though, we're left with 
something like this:
	title Linux
		linux (hd,7)/vmlinux-foo root=/dev/hda12
		initrd (hd,7)/initrd-foo

[To summarize:
(hd,5) -- /boot/grub
(hd,7) -- /boot
(hd,11) -- /
]

Can we have a shortcut to avoid specifying that "(hd,7)/" part 
repeatedly? I think that was the "root" command in GRUB Legacy, which 
was replaced by the "prefix" environment variable? But as I mentioned, 
"prefix" doesn't have the meaning we're looking for here...

The other possibility is to have all of /boot as a firmware-native 
filesystem. I think that's not ideal though, because those filesystems 
(HFS+, FAT) might not support features like symlinks or Unix-style 
permissions, or may not be as well-tested as Linux-native filesystems.

-Hollis




^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2005-04-14 16:33 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-05  0:38 partition layouts Hollis Blanchard
2005-04-05  4:55 ` Vernon Mauery
2005-04-05  7:02   ` Marco Gerards
2005-04-05 13:40     ` Vernon Mauery
2005-04-05 13:50       ` Marco Gerards
2005-04-05 15:50     ` Hollis Blanchard
2005-04-05 15:47   ` partition layouts - separate /boot Hollis Blanchard
2005-04-05  5:41 ` partition layouts Yoshinori K. Okuji
2005-04-05 16:01   ` Hollis Blanchard
2005-04-05 16:45     ` Marco Gerards
2005-04-05 22:53       ` partition layouts - "root" Hollis Blanchard
2005-04-06  6:32         ` Marco Gerards
2005-04-06 14:52           ` Hollis Blanchard
2005-04-06 15:43             ` Antoine Terrienne
2005-04-07  0:02               ` Hollis Blanchard
2005-04-07 14:17                 ` Yoshinori K. Okuji
2005-04-07 14:37                   ` Marco Gerards
2005-04-07 16:46                     ` Yoshinori K. Okuji
2005-04-08  6:39                       ` Marco Gerards
2005-04-12 10:15                         ` Yoshinori K. Okuji
2005-04-12 11:13                           ` Marco Gerards
2005-04-14  3:46                         ` Hollis Blanchard
2005-04-14 12:15                           ` Yoshinori K. Okuji
2005-04-14 16:30                             ` Marco Gerards
2005-04-05  7:00 ` partition layouts Marco Gerards
2005-04-05 15:38   ` partition layouts - symlinks Hollis Blanchard
2005-04-05  7:58 ` partition layouts Tomas 'Ebik' Ebenlendr

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.