Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
from reiser to ext3 at boot
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
hicksjo
n00b
n00b


Joined: 24 Jul 2003
Posts: 16

PostPosted: Thu Apr 20, 2006 4:11 pm    Post subject: from reiser to ext3 at boot Reply with quote

Hello,

Is it possible to pass the type of root filesystem on at the boot and bypass the initrd?

I ask this because I've recovered a former Reiserfs partition and I thought I'd try and save the entire directory structure. I converted (dd_rescue) the damaged partition to an image then copied the rebuilt-tree data to a new hard drive. In the absence of any problems with the bzImage when Reiser fell apart, this would be a simple fix.

The grub line reads like usual

kernel (hd1,0)/boot/vmlinuz-2.6.12 root=/dev/sdb1

I have tried to boot without the initrd, but that just leads to other problems.

I know I could mount the drive on another system and use chroot to make a new initrd (mkinitrd), but I am curious about other possibilities.

Thanks, j
Back to top
View user's profile Send private message
synss
Apprentice
Apprentice


Joined: 08 Mar 2006
Posts: 282
Location: Dijon > Berlin > Tokyo > Nürnberg > München

PostPosted: Sat Apr 22, 2006 10:23 pm    Post subject: Reply with quote

you might need an initrd for reiser b/c you need to load the support for your filesystem at boot

you do not need the initrd at all with ext3, you just compile the support for it in your kernel and it should boot

then, if /boot is on a separate partition, you should probably use ext2 and mount it with noauto in your /etc/fstab for both perf and safety, having a journal on a partition that is unmounted most of the time is useless
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum