dsl and reiserfsForum: HD Install Topic: dsl and reiserfs started by: jamesgecko Posted by jamesgecko on Aug. 06 2005,22:14
'Ello.I'm sick and tired of how slow my current Linux distribution has been running, and I discovered that DSL is about twice as fast, running from the cd as my fluxbox desktop is running from disk. I already have my partitions set up how I want them, and I was wondering if I could install DSL onto my existing ReiserFS partition. I can acess my files and manipulate the filesystem from the livecd, I'm just wondering if it would freak out if I installed and booted from a ReiserFS partition on disk. I searched the forums and found < this >, but I'm not sure if this refers to installation compatability or simply manipulating a Reiser filesystem. Any help would be appreciated. Thanks, -James Posted by cbagger01 on Aug. 07 2005,03:35
DSL should install just fine to a ReiserFS version 3.x partition.You will probably want to install the Reiserfs tools after you have performed your installation. In my opinion, ReiserFS version 3.x is the ideal choice for a journaling filesystem. It is faster than EXT3 and it is more stable than either EXT3 or Reiserfs version 4.x I would avoid Reiserfs version 4.x entirely until they get all of the bugs worked out. Posted by jamesgecko on Aug. 08 2005,18:10
Keyword: should.I decided to do a small test of dsl from hard disk before wiping everything. So, I made a directory on my main Linux partition, hda4, called "debian". (from the cd) I mounted /dev/hda4. I could manipulate things on the disk fine. Then, I executed "umask 000", to preserve user permissions. Then, cp -a /KNOPPIX/bin /mnt/hda4/debian/bin I repeated this command for everything in the /KNOPPIX directory. I now had a copy of the DSL filesystem on disk under /debian. Next, I mounted the cdrom and copied the kernel, "linux24", and everything else in the cd's boot directory, to hda1, my grub partition. I copied the entry for my current linux distro in my grub menu.lst file and changed the name of the kernel to match. The idea was, I'd boot normally using the DSL kernel, then chroot into the debian folder. I was not quite sure if this would work or not, but I never got the chance to find out. I get a kernel panic every time I try to use my reiserfs partition as the root filesystem. It says the partition cannot be found. So, apparently the kernel does not support booting off a reiserfs partiton. Anyone want to prove me wrong? Please? :-( Posted by cbagger01 on Aug. 08 2005,22:21
The DSL kernel is the exact same kernel that is used in the KNOPPIX version 3.4 dated 5-17-2004 livecd.I have done a KNOPPIX hard drive install using this disk and using ReiserFS as my filesystem type. I use the KNOPPIX default bootloader LILO, but I do not boot it from the MBR. Instead, I use Smart Boot Manager to launch LILO from /dev/hda3 (my Linux partition). My hda3 partition is near the back end of my hard drive and must be well past the 1024th cylinder yet lilo loads just fine. I do need to use the extended interrupt handling (?) in my Smart Boot Manager in order to see LILO on the boot menu, though. It works fine. No special boot partitions and no special kernel compile. I have not tried the same thing with DSL because I use DSL as a frugal USB pendrive install as my method of choice. If you like, I will post my lilo config when I get home. Posted by cbagger01 on Aug. 09 2005,03:45
OK,Here is my lilo.conf ReiserFS partition is located at /dev/hda3 This is a long document.
Posted by James (forgot to log in) on Aug. 09 2005,04:16
[quote=cbagger01,Aug. 08 2005,18:21][/quote]"The DSL kernel is the exact same kernel that is used in the KNOPPIX version 3.4 dated 5-17-2004 livecd. I have done a KNOPPIX hard drive install using this disk and using ReiserFS as my filesystem type." So have I! That exact same Knoppix version, in fact. But It does not seem to work using DSL. Are you sure that it's still the exact same kernel? The DSL 1.4 kernel only chokes out when accessing the reiserfs partition, which makes me suspicious. Theres still a few more things I can try, so I'll test them and get back to you. "No special boot partitions[...]" I already have a boot partition. I do this so that if something happens to my Linux partition, I can still get to Windows and everything else. Also, I can't really use the Lilo config because I use GRUB. (I had one too many "L 99 99 99" experiances with Lilo) What is this Smart Boot Manager thing? I've never heard of it. Posted by jamesgecko on Aug. 09 2005,04:37
Ok, here is what the DSL entry in grub looks like when I hit 'e' to edit it at boot.root (hd0,0) kernel /linux24 root=/dev/hda4 ro My first partition is the boot partition. I've copied the dsl kernel there. Line one is good. As my main Linux partition (using reiserfs) is on hda4, the second line looks good, too. These are the errors I get when I boot. Everything leading up to them is normal. FAT: bogus logical sector size 0 kernal panic: VFS: Unable to mount root fs on 03:04 It looks as though the DSL kernel is identifying my partition as FAT? Where is it getting this from? Posted by cbagger01 on Aug. 09 2005,22:29
If you boot via livecd, can does your RieserFS partition get detected OK and can you mount it and read the files?If not, you may need to boot knoppix and do a rieserfsck on the partition. Smart Boot Manager is a tiny program that can either be installed inside your MBR or run as a boot floppy disk and it can detect all of your OS partitions and let you boot each OS assuming that the bootloader is properly installed on that partition. I use it as a way of booting different OS without touching my MBR. For example, I have a PC with Win98/WinXP/PeanutLinux installed on multiple hard drives and I can boot any of them via the Smart Boot Manager and not touch either MBR. But Smart Boot Manager will not work unless your target OS has a properly setup bootloader on the target partition, so you still need msdos.sys, syslinux.sys, ntloader?, lilo, etc to exist on this partition. |