Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Ext2 not supported by kernel - huh?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
dajashby
n00b
n00b


Joined: 29 Mar 2004
Posts: 19

PostPosted: Sat Apr 10, 2004 1:30 pm    Post subject: Ext2 not supported by kernel - huh? Reply with quote

I was doing a world update, and grub was being updated. I got an error to the effect that the boot partition could not be automounted, and that important files could not be updated. portage invited me to mount boot manually, whereupon I got an error that ext2 was not supported by the kernel. I thought this was a bit odd, since the install guide invites us to make the boot partition ext2 rather than ext3 or anything else. This is the second time I've had a similar message - the last time I was updating the kernel with alsa support, and having recompiled it to remove oss drivers I had to boot from the livecd to install the new kernel files. I have a 2.4.25 kernel.

I have a couple of questions for anyone out there:
(1) Is there a problem using ext2 for the boot partition?
(2) Is there a hassle-free way of upgrading the boot partition to ext3, or do I need to copy the files somewhere else, blow it away and restore them. Well, I suppose that isn't much of a hassle, at that. I just have to boot from the livecd again...
Back to top
View user's profile Send private message
foton2
Guru
Guru


Joined: 23 Feb 2004
Posts: 347
Location: Prague, Czech Republick

PostPosted: Sat Apr 10, 2004 1:37 pm    Post subject: Reply with quote

Quote:
(1) Is there a problem using ext2 for the boot partition?

Don't think so. If you have ext2 support in kernel.
Quote:
(2) Is there a hassle-free way of upgrading the boot partition to ext3, or do I need to copy the files somewhere else, blow it away and restore them. Well, I suppose that isn't much of a hassle, at that. I just have to boot from the livecd again...

I think that you will have to copy the files somewhere ........

After that I would reinstall grub.
Quote:
Installing GRUB

To install GRUB, let's first emerge it:

Code Listing 1: Installing GRUB

# emerge --usepkg grub

To start configuring GRUB, you type in grub. You'll be presented with the grub> grub command-line prompt. Now, you need to type in the right commands to install the GRUB boot record onto your hard drive.

Code Listing 2: Starting the GRUB shell

# grub

Note: If your system does not have any floppy drives, add the --no-floppy option to the above command to prevent grub from probing the (non-existing) floppy drives.

In the example configuration we want to install GRUB so that it reads its information from the boot-partition /dev/hda1, and installs the GRUB boot record on the hard drive's MBR (master boot record) so that the first thing we see when we turn on the computer is the GRUB prompt. Of course, if you haven't followed the example configuration during the installation, change the commands accordingly.

The tab completion mechanism of GRUB can be used from within GRUB. For instance, if you type in "root (" followed by a TAB, you will be presented with a list of devices (such as hd0). If you type in "root (hd0," followed by a TAB, you will receive a list of available partitions to choose from (such as hd0,0).

By using the tab completion, setting up GRUB should be not that hard. Now go on, configure GRUB, shall we? :-)

Code Listing 3: Installing GRUB in the MBR

grub> root (hd0,0) (Specify where your /boot partition resides)
grub> setup (hd0) (Install GRUB in the MBR)
grub> quit (Exit the GRUB shell)

Note: If you want to install GRUB in a certain partition instead of the MBR, you have to alter the setup command so it points to the right partition. For instance, if you want GRUB installed in /dev/hda3, then the command becomes setup (hd0,2). Few users however want to do this.


_________________
Pentium4 2.4Ghz 533Mhz, Intel® Desktop Board D845GEBV2 + LAN, 768MB DDR 266Mhz RAM, 80GB Seagate Barracuda 7200.7, NVIDIA GeForce4 MX 440, SB Live! 5.1, TEAC CD-552E, TEAC DW-548D, Packard Bell 1512SL Monitor, HP DeskJet 640C, Opti UPS PowerPS 800ps.
Back to top
View user's profile Send private message
Lews_Therin
l33t
l33t


Joined: 03 Oct 2003
Posts: 657
Location: Banned

PostPosted: Sat Apr 10, 2004 5:45 pm    Post subject: Reply with quote

you need "Second extended file system" enabled in your kernel configuration, under File Systems.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
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