Re: ext3 on Debian woody

2002-01-31 Thread Nick Sanders

> You can use ext3 as a module if ext2 is also a module, I believe.
> That's why the stock 2.4.17-686 kernel works with ext3 out of the box,
> whereas 2.4.17-386 and 2.4.17-k7 and probably all others don't--they
> have ext2 built into the kernel.

2.4.17-k7 boots my ext3 root partition fine it has ext2 and ext3 both as 
modules.



Re: ext3 on Debian woody

2002-01-31 Thread Andrew Agno
Alexander List writes:
 > On Thu, 31 Jan 2002, Sven Schumacher wrote:
 > 
 > > > 5.) edit /etc/fstab replacing ext2 with ext3
 > 
 > > You cant use ext3 for root fs if you use ext3 as a module.
 > 
 > Are you sure about this? ext2 is also a module in the latest stock
 > kernels, have a closer look at the /boot/config.x.y! I was surprised by
 > this myself. The modules have to reside in the initrd and they have to be
 > loaded, but it works, even with modules!

You can use ext3 as a module if ext2 is also a module, I believe.
That's why the stock 2.4.17-686 kernel works with ext3 out of the box, 
whereas 2.4.17-386 and 2.4.17-k7 and probably all others don't--they
have ext2 built into the kernel.

Andrew.



Re: ext3 on Debian woody

2002-01-31 Thread Alexander List
On Thu, 31 Jan 2002, Terry Carney wrote:

> I opted to compile the initrd-related stuff right into the kernel.
>
> When you use make-kpkg to create your kernel_image just add --initrd as
> a make-kpkg option .

I know that I can do this, but it would however be nicer to have ext3 also
in the stock kernels.

> Change lilo.conf so the line reads 'initrd=/initrd.img' then when you
> run 'dpkg --install kernel-image?.deb' it should all be done
> automatically.

Thanks, already knew that.

Alex

-- 
"Forgive me, but I'm talking to a politician."
John Simpson, BBC World



Re: ext3 on Debian woody

2002-01-31 Thread Alexander List
On Thu, 31 Jan 2002, Sven Schumacher wrote:

> > 5.) edit /etc/fstab replacing ext2 with ext3

> You cant use ext3 for root fs if you use ext3 as a module.

Are you sure about this? ext2 is also a module in the latest stock
kernels, have a closer look at the /boot/config.x.y! I was surprised by
this myself. The modules have to reside in the initrd and they have to be
loaded, but it works, even with modules!

> I'm using Debian woody with ext3 for / and /boot, too. Perhaps you may have
> forgotten to edit your /etc/fstab to match the changed filesystems

Re-read my mail, I did change the fstab. Maybe the defaults entry messes
things up? Dunno, will investigate if nobody else already knows the
solution.

> Greets to Austria

Thanks, tho I'm currently living in Finland :-). Greetz to Germany...

Alex

PS: Here's my fstab:

#
/dev/hda6   /   ext3defaults,errors=remount-ro  0
1
/dev/hda5   noneswapsw  0   0
/dev/hda7   noneswapsw  0   0
/dev/hda9   noneswapsw  0   0
/dev/hda11  noneswapsw  0   0
proc/proc   procdefaults0
0
/dev/fd0/floppy autodefaults,user,noauto0
0
/dev/scd0   /cdrom1 iso9660 defaults,ro,user,noauto 0
0
/dev/scd1   /cdrom  iso9660 defaults,ro,user,noauto 0
0
/dev/hda1 /boot ext3 rw 0   2
/dev/hda8 /usr ext3 rw  0   2
/dev/hda10 /var ext3 rw 0   2
/dev/hda12 /home ext3 rw0   2
/dev/hda13 /home/alex/q ext3 rw 0 2
/dev/hda2 /home/alex/r ext3 rw 0 2


-- 
"Forgive me, but I'm talking to a politician."
John Simpson, BBC World



Re: ext3 on Debian woody

2002-01-31 Thread Terry Carney
On Thu, 31 Jan 2002, Alexander List wrote:

> Unfortunately, this means that I have to recreate my initrd everytime a
> new kernel package is to be installed. What do you think about enabling
> ext3 support in the standard kernels by default? I'm not talking about
> switching the default fs type already to ext3, but to change the initrd
> for the "stock" kernel packages. ext3 is already in there as a module, it
> just has to be enabled.

I opted to compile the initrd-related stuff right into the kernel.

When you use make-kpkg to create your kernel_image just add --initrd as
a make-kpkg option .

Change lilo.conf so the line reads 'initrd=/initrd.img' then when you
run 'dpkg --install kernel-image?.deb' it should all be done
automatically.

Regards,


Terry.

[EMAIL PROTECTED]
--
Public PGP Key: http://www.selterra.com/pgpkey/tcarney.asc