(reiser4)install on root

2004-11-26 Thread 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..

Thx

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


Re: (reiser4)install on root

2004-11-26 Thread Vladimir Saveliev
Hello

On Fri, 2004-11-26 at 11:58, BLuEGoD wrote:
  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.

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



Re: (reiser4)install on root

2004-11-26 Thread Vladimir Saveliev
Hello

On Fri, 2004-11-26 at 18:35, Vladimir Saveliev wrote:
 Hello
 
 On Fri, 2004-11-26 at 11:58, BLuEGoD wrote:
   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
 

that is: reboot with reiser4 root fs

 PS: if you have troubles - please provide more detailed information
 about what you do and what you get.
 
  Thx
  
  _
  Get your FREE, LinuxWaves.com Email Now! -- http://www.LinuxWaves.com
  Join Linux Discussions! -- http://Community.LinuxWaves.com
  
 
 



Re: (reiser4)install on root

2004-11-26 Thread Valdis . Kletnieks
On Fri, 26 Nov 2004 00:58:28 PST, BLuEGoD said:

  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...)


pgpTdyu9Am6zL.pgp
Description: PGP signature