 |
|
| Linux Forum Index » Linux Setup » Why can't ext4 file systems be used as a boot... |
|
Page 1 of 1 |
|
| Author |
Message |
| piscesboy... |
Posted: Thu Sep 17, 2009 7:21 pm |
|
|
|
Guest
|
|
| Back to top |
|
|
|
| The Natural Philosopher... |
Posted: Fri Sep 18, 2009 10:17 am |
|
|
|
Guest
|
Aragorn wrote:
Quote: On Friday 18 September 2009 13:52, someone identifying as *Nico
Kadel-Garcia* wrote in /comp.os.linux.setup:/
On Sep 18, 6:43 am, Aragorn <arag... at (no spam) chatfactory.invalid> wrote:
There are of course reasons as to why you might prefer GRUB over
LILO. For one, GRUB offers more possibilities - such as an
interactive boot shell and the ability to load many other types of
UNIX operating systems, including GNU/Hurd, Free-/Net-/OpenBSD and
Solaris - and if you're going to use the Xen hypervisor, then using
LILO requires some special trick to get Xen to load the privileged
domain's kernel, because LILO does not support module loading, while
GRUB does.
Still, somehow I don't think that would be an issue in your case, so
if you want to have /ext4/ on the */boot* partition and you can't
install any of the later GRUB versions, try going with LILO instead.
It's not as featureful as GRUB but it'll do the job of booting up
your system.
I'm glad Aragorn is around. He gives good answers, that I can
occasionally add a bit of extra thought to.
Why thank you, I really appreciate that.
#
well add my welcome too, as I appreciate your style and knowledge. |
|
|
| Back to top |
|
|
|
| The Natural Philosopher... |
Posted: Fri Sep 18, 2009 10:19 am |
|
|
|
Guest
|
Nico Kadel-Garcia wrote:
Quote: On Sep 18, 8:07 am, Aragorn <arag... at (no spam) chatfactory.invalid> wrote:
It was once postulated by chaoticians that a million monkeys sitting at
a computer would eventually come up with the collected works of William
Shakespeare. Now, with the internet, we know that this is not true. :p
Now, now, be nice to the cage monkeys. I'm restraining a lot of odd
humor about them at the moment, but they've usually done their flat-
out best for me when I've called and I appreciate their on-site hands
and configuration insights tremendously.
Ah, but those were RANDOM monkeys.
The internet species is anything but..its more the BANDAR-LOG species,
if you read your Kipling... Cf the Hunting of Kaa. |
|
|
| Back to top |
|
|
|
| September Storm... |
Posted: Fri Sep 18, 2009 10:20 am |
|
|
|
Guest
|
Nico Kadel-Garcia wrote:
Quote: grub lacks one feature I really miss from LILO, the command line "use
the old kernel still there as the default", then "use the new kernel
one time and one time only to reboot with". (You had to do them on
different commands, on the same command didn't work, dang it!!!) This
let you reboot once with the new kernel, and if it failed, the boot
procedure would revert to the old kernel merely by someone hitting the
power button. That was incredibly helpful when testing out new kernels
or sending new kernels to weird, remote hardware: having a cage monkey
hit the power button is much safer than making them connect up a
keyboard and console.
Oops, you got that backwards, grub allows you to reboot once, not lilo. |
|
|
| Back to top |
|
|
|
| September Storm... |
Posted: Fri Sep 18, 2009 10:21 am |
|
|
|
Guest
|
Nico Kadel-Garcia wrote:
Quote:
If it's there, it's relatively new: I've had to work with RHEL 4 and
RHEL 5 the last few years, and it certainly wasn't there.
I've not used lilo for so long, I forget that it had a reboot once
option. Anyway, they both do and it's nothing new at all for grub. |
|
|
| Back to top |
|
|
|
| unruh... |
Posted: Fri Sep 18, 2009 10:44 am |
|
|
|
Guest
|
Quote: On Sep 18, 8:07=A0am, Aragorn <arag... at (no spam) chatfactory.invalid> wrote:
It was once postulated by chaoticians that a million monkeys sitting at
a computer would eventually come up with the collected works of William
Shakespeare. =A0Now, with the internet, we know that this is not true. :p
Nope. they gave us Wikipedia instead. |
|
|
| Back to top |
|
|
|
| The Natural Philosopher... |
Posted: Fri Sep 18, 2009 10:48 am |
|
|
|
Guest
|
unruh wrote:
Quote: On Sep 18, 8:07=A0am, Aragorn <arag... at (no spam) chatfactory.invalid> wrote:
It was once postulated by chaoticians that a million monkeys sitting at
a computer would eventually come up with the collected works of William
Shakespeare. =A0Now, with the internet, we know that this is not true. :p
Nope. they gave us Wikipedia instead.
ITYM facebook. |
|
|
| Back to top |
|
|
|
| Keith Keller... |
Posted: Fri Sep 18, 2009 11:38 am |
|
|
|
Guest
|
On 2009-09-18, The Natural Philosopher <tnp at (no spam) invalid.invalid> wrote:
Quote: unruh wrote:
On Sep 18, 8:07=A0am, Aragorn <arag... at (no spam) chatfactory.invalid> wrote:
It was once postulated by chaoticians that a million monkeys sitting at
a computer would eventually come up with the collected works of William
Shakespeare. =A0Now, with the internet, we know that this is not true. :p
Nope. they gave us Wikipedia instead.
ITYM facebook.
That's an insult to monkeys everywhere!
--keith
--
kkeller-usenet at (no spam) wombat.san-francisco.ca.us
(try just my userid to email me)
AOLSFAQ=http://www.therockgarden.ca/aolsfaq.txt
see X- headers for PGP signature information |
|
|
| Back to top |
|
|
|
| Aragorn... |
Posted: Fri Sep 18, 2009 11:46 am |
|
|
|
Guest
|
On Friday 18 September 2009 18:17, someone identifying as *The Natural
Philosopher* wrote in /comp.os.linux.setup:/
Quote: Aragorn wrote:
On Friday 18 September 2009 13:52, someone identifying as *Nico
Kadel-Garcia* wrote in /comp.os.linux.setup:/
On Sep 18, 6:43 am, Aragorn <arag... at (no spam) chatfactory.invalid> wrote:
There are of course reasons as to why you might prefer GRUB over
LILO. For one, GRUB offers more possibilities - such as an
interactive boot shell and the ability to load many other types of
UNIX operating systems, including GNU/Hurd, Free-/Net-/OpenBSD and
Solaris - and if you're going to use the Xen hypervisor, then using
LILO requires some special trick to get Xen to load the privileged
domain's kernel, because LILO does not support module loading,
while GRUB does.
Still, somehow I don't think that would be an issue in your case,
so if you want to have /ext4/ on the */boot* partition and you
can't install any of the later GRUB versions, try going with LILO
instead. It's not as featureful as GRUB but it'll do the job of
booting up your system. ;-)
I'm glad Aragorn is around. He gives good answers, that I can
occasionally add a bit of extra thought to.
Why thank you, I really appreciate that.
#
well add my welcome too, as I appreciate your style and knowledge.
Much appreciated, old friend.
(You may not remember, but we have spoken before - Usenetwise, of course
- on other GNU/Linux-related newsgroups. Yes, I am the
same /Aragorn,/ although I have once seen an imposter, but his style
and signature were nothing like mine, so it's not like he was fooling
those who know me. )
--
*Aragorn*
(registered GNU/Linux user #223157) |
|
|
| Back to top |
|
|
|
| Aragorn... |
Posted: Fri Sep 18, 2009 11:48 am |
|
|
|
Guest
|
On Friday 18 September 2009 18:44, someone identifying as *unruh* wrote
in /comp.os.linux.setup:/
Quote: On Sep 18, 8:07=A0am, Aragorn <arag... at (no spam) chatfactory.invalid> wrote:
It was once postulated by chaoticians that a million monkeys sitting
at a computer would eventually come up with the collected works of
William Shakespeare. =A0Now, with the internet, we know that this is
not true. :p
Nope. they gave us Wikipedia instead.
There is indeed a... ehm... /slight/ difference in quality there... :pp
--
*Aragorn*
(registered GNU/Linux user #223157) |
|
|
| Back to top |
|
|
|
| Hans-Peter Diettrich... |
Posted: Sat Sep 19, 2009 12:25 am |
|
|
|
Guest
|
Aragorn schrieb:
Quote: Since GRUB can boot e.g. Windows systems as well - isn't there a GRUB
option, that a logical drive shall be booted in the "traditional"
(LILO) way?
I'm not sure I understand your question... :-/ Both GRUB and LILO boot
Windows in the same manner, i.e. by loading the Windows partition's
bootsector into memory and passing control of the machine onto whatever
code resides there, and this code in question would then be the Windows
bootloader.
I'm not sure how far this is a Windows specific convention - at least
the first boot stage must be invoked by the BIOS.
[...]
Quote: As your question was pretty vague, I'm not sure whether my reply is
adequate, though.
Thanks, I think that I could figure out some facts :-)
It looks to me as if Linux prefers an single boot manager, not one for
every bootable logical drive. What's the problem with updating that boot
manager, when a new filesystem is used for an bootable drive?
DoDi |
|
|
| Back to top |
|
|
|
| The Natural Philosopher... |
Posted: Sat Sep 19, 2009 12:40 am |
|
|
|
Guest
|
Hans-Peter Diettrich wrote:
Quote: Aragorn schrieb:
Since GRUB can boot e.g. Windows systems as well - isn't there a GRUB
option, that a logical drive shall be booted in the "traditional"
(LILO) way?
I'm not sure I understand your question... :-/ Both GRUB and LILO boot
Windows in the same manner, i.e. by loading the Windows partition's
bootsector into memory and passing control of the machine onto whatever
code resides there, and this code in question would then be the Windows
bootloader.
I'm not sure how far this is a Windows specific convention - at least
the first boot stage must be invoked by the BIOS.
yerrss.. I thought about that, but the boot LOADER - grub, lilo or
whatever, simply resides in the boot SECTOR, which isn't really a file
*system* at all.
So teh sequence is
Bios loads boot sector and jumps to execute into it.
Boot code takes over and loads splash screens and ultimately the kernel
and enough OS to bootstrap the rest.
So its really down to whether or not the boot loader understands the
disk .. and sometimes it dont..and booting fails!
Quote: [...]
As your question was pretty vague, I'm not sure whether my reply is
adequate, though.
Thanks, I think that I could figure out some facts :-)
It looks to me as if Linux prefers an single boot manager, not one for
every bootable logical drive. What's the problem with updating that boot
manager, when a new filesystem is used for an bootable drive?
#
Dont see any really.
> DoDi |
|
|
| Back to top |
|
|
|
| Aragorn... |
Posted: Sat Sep 19, 2009 4:58 am |
|
|
|
Guest
|
On Saturday 19 September 2009 08:40, someone identifying as *The Natural
Philosopher* wrote in /comp.os.linux.setup:/
Quote: Hans-Peter Diettrich wrote:
Aragorn schrieb:
Since GRUB can boot e.g. Windows systems as well - isn't there a
GRUB option, that a logical drive shall be booted in the
"traditional" (LILO) way?
I'm not sure I understand your question... :-/ Both GRUB and LILO
boot Windows in the same manner, i.e. by loading the Windows
partition's bootsector into memory and passing control of the
machine onto whatever code resides there, and this code in question
would then be the Windows bootloader.
I'm not sure how far this is a Windows specific convention - at least
the first boot stage must be invoked by the BIOS.
yerrss.. I thought about that, but the boot LOADER - grub, lilo or
whatever, simply resides in the boot SECTOR, which isn't really a file
*system* at all.
Not necessarily so, though. One can have LILO or GRUB reside in a
partition's bootsector as well and then have it brought up by a primary
bootloader, being either the legacy /x86/ bootloader code residing in
the master boot record of each new hard disk, or another LILO, GRUB or
third-party bootloader.
Quote: So teh sequence is
Bios loads boot sector and jumps to execute into it.
Boot code takes over and loads splash screens and ultimately the
kernel and enough OS to bootstrap the rest.
Hmm... That's not entirely accurate. The splash screens - I'm assuming
that you're talking of the framebuffer eyecandy during the boot process
and not of the GRUB or LILO menu - reside in the /initrd,/ which is
only loaded after the kernel has already been decompressed into memory,
and this decompression occurs after the initial kernel bootstrap code
has set up the necessary pagetables, copied the boot parameters to a
memory location that won't be overwritten after the kernel gets
decompressed - so that the actual protected mode kernel can access that
information later on - and switched the boot processor into protected
mode.
Also note that one does not need an /initrd/ in order to boot, although
typically a distribution-supplied binary kernel will need one due to
the fact that a distribution kernel must be able to run on as many
different hardware configurations as available.
I normally build my kernels so that an /initrd/ is not needed, with all
static hardware - e.g. RAID controller - and main drivers statically
linked into the kernel itself, instead of compiling them as modules. I
do however advise people who roll their own kernel for a workstation-
or laptop-type of machine to leave the loading and unloading of modules
and module autoloading enabled, because proprietary drivers only come
as modules for obvious reasons. For a server, and especially in the
case of a machine with multiple user accounts, it is probably safer to
disable module loading altogether so that an eventual intruder or a
misbehaving user can't use some root exploit to load a malware module
into the kernel. (Note: These are not necessarily my words, but
instead it is a loose quote taken from the Gentoo manual.)
Quote: So its really down to whether or not the boot loader understands the
disk .. and sometimes it dont..and booting fails!
This in itself is an ambiguous statement, because it all depends on the
bootloader, the BIOS and the type of hard disk. And in the event of
GRUB, a filesystem driver for the partition from which the 1.5 and 2.0
stages of GRUB and the kernel must be loaded.
Quote: As your question was pretty vague, I'm not sure whether my reply is
adequate, though.
Thanks, I think that I could figure out some facts :-)
It looks to me as if Linux prefers an single boot manager, not one
for every bootable logical drive. What's the problem with updating
that boot manager, when a new filesystem is used for an bootable
drive?
#
Dont see any really.
The question itself was asked wrongly, in my opinion, but I have tried
to address that in my other reply. ;-)
--
*Aragorn*
(registered GNU/Linux user #223157) |
|
|
| Back to top |
|
|
|
| Darren Salt... |
Posted: Sun Sep 20, 2009 11:00 am |
|
|
|
Guest
|
I demand that piscesboy may or may not have written...
The filesystem is irrelevant to lilo, so I see no problem here :-)
--
| Darren Salt | linux at youmustbejoking | nr. Ashington, | Doon
| using Debian GNU/Linux | or ds ,demon,co,uk | Northumberland | Army
| Let's keep the pound sterling
This was the most unkind cut of all. |
|
|
| Back to top |
|
|
|
| Jerry McBride... |
Posted: Tue Sep 29, 2009 8:25 am |
|
|
|
Guest
|
piscesboy wrote:
What problems are you having? As usual, before the kernel can boot a partition,
it must know about the filesystem on it via a driver. On the system in question,
is ext4 compiled into the kernel or otherwise provided in your initrd? Are you
running a current version of of boot manager? I run version 0.97 of grub and
have to apply a patch to allow for booting off ext4 partitions. Grub2 has it
built in, but is not the current stable version. You decide.
Check the net or go to bugs.gentoo.org for more information. Search "ALL grub"
and look for mention of ext4.
Just so you know, I've got several linux boxes with ext4 root partitions and
they boot without problems...
--
*****************************************************************************
From the desk of:
Jerome D. McBride
10:07:30 up 1 day, 15:47, 4 users, load average: 0.07, 0.17, 0.16
***************************************************************************** |
|
|
| Back to top |
|
|
|
|
|
All times are GMT - 5 Hours
The time now is Sun Nov 29, 2009 11:41 am
|
|