Skip to contentSkip to conversation

(reiser4)install on root

DISCUSSION BLuEGoD 4 participants 5 messages Nov 26, 2004

lore
Share & tools
lore

BLuEGoD

author
#0 lore raw

Hi, i want to know how to install reiser4 on root with only 1 HD.. I use mkfs.reiser4 from the reiser4 utils after compile and install kernel & patches on a debian woody 2.2.. with a scsi HD, but it crashes (errors found doing mkfs.reiser4 on root device and on next boot I saw a kernel panic).. Note: I did it with the root mounted.. because i need to boot with that HD..

Thx

_____________________________________________________________
Get your FREE, LinuxWaves.com Email Now! --> http://www.LinuxWaves.com
Join Linux Discussions! --> http://Community.LinuxWaves.com

#1 lore raw

Hello

Quoted 2 lines · BLuEGoD

Hi, i want to know how to install reiser4 on root with only 1 HD.. I use mkfs.reiser4 from the reiser4 utils after compile and install kernel & patches on a debian woody 2.2.. with a scsi HD, but it crashes (errors found doing mkfs.reiser4 on root device and on next boot I saw a kernel panic).. Note: I did it with the root mounted.. because i need to boot with that HD..

You need a spare partition on that HD.
mkfs.reiser4 it
mount it /mnt (you need kernel with reiser4 support here) cp -ax / /mnt
edit /mnt/etc/fstab
make changes in your boot loader. This is the most tricky part. reboot with reiser4 reboot

PS: if you have troubles - please provide more detailed information about what you do and what you get.

Quoted 6 lines

Thx

_____________________________________________________________
Get your FREE, LinuxWaves.com Email Now! --> http://www.LinuxWaves.com
Join Linux Discussions! --> http://Community.LinuxWaves.com

#2 lore raw
Quoted 8 lines · Vladimir Saveliev

You need a spare partition on that HD.
mkfs.reiser4 it
mount it /mnt (you need kernel with reiser4 support here) cp -ax / /mnt
edit /mnt/etc/fstab
make changes in your boot loader. This is the most tricky part. reboot with reiser4 reboot

After the mount you can run debootstrap on it, copy the reiser4-enabled kernel .deb, chroot and install the kernel.

Then just edit fstab and do the bootloader edit, then reboot.

Signature · 1 line
mjt
#3 lore raw
In reply to Vladimir Saveliev

Hello

Quoted 6 lines · Vladimir Saveliev

Hello

Quoted 2 lines · BLuEGoD

Hi, i want to know how to install reiser4 on root with only 1 HD.. I use mkfs.reiser4 from the reiser4 utils after compile and install kernel & patches on a debian woody 2.2.. with a scsi HD, but it crashes (errors found doing mkfs.reiser4 on root device and on next boot I saw a kernel panic).. Note: I did it with the root mounted.. because i need to boot with that HD..

Quoted 8 lines

You need a spare partition on that HD.
mkfs.reiser4 it
mount it /mnt (you need kernel with reiser4 support here) cp -ax / /mnt
edit /mnt/etc/fstab
make changes in your boot loader. This is the most tricky part. reboot with reiser4 reboot

that is: reboot with reiser4 root fs

Quoted 11 lines

PS: if you have troubles - please provide more detailed information about what you do and what you get.

Quoted 6 lines

Thx

_____________________________________________________________
Get your FREE, LinuxWaves.com Email Now! --> http://www.LinuxWaves.com
Join Linux Discussions! --> http://Community.LinuxWaves.com

#4 lore raw
In reply to BLuEGoD
Quoted 5 lines · BLuEGoD

Hi, i want to know how to install reiser4 on root with only 1 HD.. I use
mkfs.reiser4 from the reiser4 utils after compile and install kernel & patches on a debian woody 2.2.. with a scsi HD, but it crashes (errors found doing mkfs.reiser4 on root device and on next boot I saw a kernel panic).. Note: I did it with the root mounted.. because i need to boot with that HD..

As several have noted, you can use a spare partition to build a new root filesystem. Another option is to use a "rescue disk" or a Knoppix disk or other CD-based toolset to boot from, and use that to do your mkfs.reiser4.

It's a good idea to *always* have a rescue disk handy, because they enable you to recover from many problems that will prevent you from booting all the way to single-user off your production disk (trashed boot block, missing/misnamed files in /boot, a need to fsck the boot partition, or whatever...)