On Friday 11 May 2001 05:00, you wrote:
> Hallo!
>
> I have to use kernel 2.2.19 in my laptop (to be able to use a driver),
> and i'm using reiserfs in both / and /home partitions, so i've installed
> kernel-2.2.19-10mdk.
>
> But i get a cannot mount root partition.
>
> I've tryed then running mkinitrd --preload reiserfs
> /boot/initrd-2.2.19-10mdk.img 2.2.19-10mdk
>
> And mkinitrd creates the .img file ... but i get the same error on
> startup.
>
> I haven't told mkinitrd where to find /boot/vmlinuz-2.2.19-10mdk... is
> this important? 8?
>
> Thanks! ;)
Ummm you need to do a minimal install 8.0 -NON REISER- Very tiny / partition
Then the following steps:
1. Get your 7.2 install CD and mount it and install reiserfs-utils from it
(rpm -e the reiserfs-progs from 8.0)
2. make your other partitions ext2 and format them
3. reboot to kernel 2.2.19
4. mkreiserfs on those partitions (/home, /usr, /var )
5. edit your /etc/fstab to add the partitons you have made as follows
/dev/hda7 /spvar reiserfs -notail 1 2
/dev/hda8 /spusr reiserfs -notail 1 2
/dev/hda9 /sphome reiserfs -notail 1 2
(numbers are an example--use your own)
6. mount /spvar && cp -a /var/* /spvar && umount /spvar
mount /spusr && cp -a /usr/* /spusr && umount /spusr
mount /sphome && cp -a /home/* /sphome && umount /sphome
7. Edit the /etc/fstab again and take off the "sp" in the mount points
8. Now do the following
mv /var /oldvar && mkdir /var && mount /var
mv /usr /oldusr && mkdir /usr && mount /usr
mv /home /oldhome && mkdir /home && mount /home
9. Test it to make sure it works. Then
rm -r /oldhome -f && rm -r /oldvar -f && rm -r /oldusr -f
The reason you have difficulty now is that the version of reiserfs supplied
with 8.0 does NOT work with 2.2 kernel, only the older version does.
you can use "defaults" instead of "-notail" and save some space but you will
take a performance hit. Once a reiser partition has been mounted -notail it
must always be mounted that way because the mount option describes a
fundamental difference in the way files are stored.
Civileme
>
> --
> Joan Tur. Ibiza - Spain
> [EMAIL PROTECTED] [EMAIL PROTECTED] ICQ 11407395
> Joan.Tur.pagina.de www.ClubIbosim.org
> Linux: usuari registrat 190.783