slacker_x
09-27-2001, 03:05 PM
I am trying to convert my root filesystem to reiserfs.
I have already converted /dev/hdc1 to resiserfs and it works fine.
There are instructions here saying how to convert your root fs to resiser: http://www.reiserfs.org/change_fs.html
I have copied the /bin /etc /lib /sbin directories over to /dev/hdc1 according to the instructions.
I have also created a backup of my current root partition on that drive by doing this:
rsync -av --exclude=/hdc1/* / /hdc1/image/
The instructions say to create a boot disk and then boot from it. When the lilo prompt comes up, you are supposed to do:
Linux root=/dev/hd init=/bin/bash
I think that by root=/dev/hd they mean root=/dev/hdc1 in my case. The problem is that I don't know how to create a boot disk using my current kernel. How can I do this?
I use debian and make-kpkg to create my kernels. When you are installing a kernel deb, it prompts you to make a boot disk, so I did:
dpkg-reconfigure kernel-image-2.4.9
It prompted me to make the boot disk and I did.
When I tried to boot from this boot disk, it doesn't give a lilo prompt, it just starts booting the OS exactly as it normally would. if you just selected Linux.
I tried booting from the hard drive and then specifying the options Linux root=/dev/hdc1 init=/bin/bash
here is what happened:
FAT: Bogus logical sector size 0
FAT: Bogus logical sector size 0
reiserfs: checking transation log (device 16:01)...
Warning, log replay starting on readonly filesystem
reiserfs: replayed 1 transaction in 5 seconds
Using R5 hash to set _____ (can't read what I wrote there)
Reiserfs version 3.6.25
VFS: Mounted root (reiserfs filesystem) readonly
Freeing unused kernel memory: 200k freed
Warning: unable to open an initial console
kernel panic: attempted to kill init!
I don't really know what this means. I'm hoping it will be helpful. Those are just the last few lines before it sits and doesn't respond
I have already converted /dev/hdc1 to resiserfs and it works fine.
There are instructions here saying how to convert your root fs to resiser: http://www.reiserfs.org/change_fs.html
I have copied the /bin /etc /lib /sbin directories over to /dev/hdc1 according to the instructions.
I have also created a backup of my current root partition on that drive by doing this:
rsync -av --exclude=/hdc1/* / /hdc1/image/
The instructions say to create a boot disk and then boot from it. When the lilo prompt comes up, you are supposed to do:
Linux root=/dev/hd init=/bin/bash
I think that by root=/dev/hd they mean root=/dev/hdc1 in my case. The problem is that I don't know how to create a boot disk using my current kernel. How can I do this?
I use debian and make-kpkg to create my kernels. When you are installing a kernel deb, it prompts you to make a boot disk, so I did:
dpkg-reconfigure kernel-image-2.4.9
It prompted me to make the boot disk and I did.
When I tried to boot from this boot disk, it doesn't give a lilo prompt, it just starts booting the OS exactly as it normally would. if you just selected Linux.
I tried booting from the hard drive and then specifying the options Linux root=/dev/hdc1 init=/bin/bash
here is what happened:
FAT: Bogus logical sector size 0
FAT: Bogus logical sector size 0
reiserfs: checking transation log (device 16:01)...
Warning, log replay starting on readonly filesystem
reiserfs: replayed 1 transaction in 5 seconds
Using R5 hash to set _____ (can't read what I wrote there)
Reiserfs version 3.6.25
VFS: Mounted root (reiserfs filesystem) readonly
Freeing unused kernel memory: 200k freed
Warning: unable to open an initial console
kernel panic: attempted to kill init!
I don't really know what this means. I'm hoping it will be helpful. Those are just the last few lines before it sits and doesn't respond