LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
Search this Thread
Old 04-16-2009, 09:45 PM   #1
hshzh359
Member
 
Registered: Dec 2008
Posts: 37

Rep: Reputation: 15
Thumbs up directory with reiserfs?


Today,I have recompile kernel 2.6.24 with reiserfs support with Module on rhel5.then I make following change:
1:change /etc/fstab:
/dev/Vg1/lv.root / reiserfs defaults 1 1
and cd /boot/; mkinitrd --with=reiserfs initrd-reiserfs-2.6.24.img. 2.6.24
2:then I use other support reiserfs os enter rescue mode.
commands:
mkdir /source;lvm vgchange -a y Vg1;mount /dev/Vg1/lv.root /source;mkdir /backup;mount /dev/sda6 /backup;
cd /source;tar cvzf /backup/rhel5.tgz *;umount /source;
mkreiserfs /dev/Vg1/lv.root;mount /dev/Vg1/lv.root /source;
cd /source;tar xvzf /backup/rhel5.tgz.then reboot with 2.6.24.

Problem:
VFS:Can't find ext3 filesystem on dev dm-0
mount:error mounting /dev/root on /sysroot as ext3:Invalid argument
setuproot:moving /dev failed:no such file or directory
setuproot:error mounting /proc:no such file or direcotry
setuproot:.......
.............!!!!
kernel panic-not sysncing:Attempted to kill init!

Please help me???
Thanks!!!

Last edited by hshzh359; 04-16-2009 at 09:53 PM.
 
Old 04-18-2009, 06:04 PM   #2
irishbitte
Senior Member
 
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Blog Entries: 1

Rep: Reputation: 82
the / filesystem, to the best of my knowledge, cannot be reiserfs. You must have an ext2 or ext3 filesystem for /. After that, if you have other partitions declared, they can be reiserfs.

The reason is, in order to read a reiserfs filesystem, the OS has to load the reiserfs module. If the module is stored in a reiserfs filesystem, along with everything else, the OS will not boot.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to install reiserfs file system on my RHEL5 hshzh359 Linux - Server 7 12-21-2008 06:02 PM
RHEL5 Replacing WIN2K Active Directory netwrkengeer Red Hat 2 11-07-2008 12:00 PM
Corrupted reiserfs directory!!! alaios Linux - General 1 03-28-2006 08:39 AM
can't delete directory - reiserfs slackhack Linux - General 3 12-29-2005 10:24 AM
mkfs.reiserfs: No such file or directory murray_linux Slackware 2 05-15-2004 03:32 PM


All times are GMT -5. The time now is 12:22 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration