Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: dsl and reiserfs, would an install on riserfs work?< Next Oldest | Next Newest >
jamesgecko Offline





Group: Members
Posts: 7
Joined: Aug. 2005
Posted: Aug. 06 2005,22:14 QUOTE

'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
Back to top
Profile PM 
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: Aug. 07 2005,03:35 QUOTE

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.
Back to top
Profile PM 
jamesgecko Offline





Group: Members
Posts: 7
Joined: Aug. 2005
Posted: Aug. 08 2005,18:10 QUOTE

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? :-(
Back to top
Profile PM 
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: Aug. 08 2005,22: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.

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.
Back to top
Profile PM 
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: Aug. 09 2005,03:45 QUOTE

OK,

Here is my lilo.conf

ReiserFS partition is located at /dev/hda3

This is a long document.

Code Sample
# /etc/lilo.conf - See: 'lilo(8)' and 'lilo.conf(5)',
# ---------------       'install-mbr(8)', '/usr/share/doc/lilo/',
#                       and '/usr/share/doc/mbr/'.

# +---------------------------------------------------------------+
# |                        !! Reminder !!                         |
# |                                                               |
# | Don't forget to run 'lilo' after you make changes to this     |
# | conffile, '/boot/bootmess.txt', or install a new kernel.  The |
# | computer will most likely fail to boot if a kernel-image      |
# | post-install script or you don't remember to run 'lilo'.      |
# |                                                               |
# +---------------------------------------------------------------+

# Support LBA for large hard disks.
#
lba32

# Overrides the default mapping between harddisk names and the BIOS'
# harddisk order. Use with caution.
#disk=/dev/hde
#    bios=0x81

#disk=/dev/sda
#    bios=0x80

# Specifies the boot device.  This is where Lilo installs its boot
# block.  It can be either a partition, or the raw device, in which
# case it installs in the MBR, and will overwrite the current MBR.
#
boot=/dev/hda3

# Specifies the device that should be mounted as root. ('/')
#
root=/dev/hda3

# Enable map compaction:
# Tries to merge read requests for adjacent sectors into a single
# read request. This drastically reduces load time and keeps the
# map smaller.  Using 'compact' is especially recommended when
# booting from a floppy disk.  It is disabled here by default
# because it doesn't always work.
#
# compact

# Default menu for Debian. (Using the images from debian-bootscreen)
# from Philipp Wolfer <phil@newswriter.org>.
bitmap=/usr/share/lilo/contrib/debian.bmp
bmp-colors=1,,0,2,,0
bmp-table=120p,173p,1,15,17
bmp-timer=254p,432p,1,0,0

# Install the specified file as the new boot sector.
# LILO supports built in boot sectory, you only need
# to specify the type, choose one from 'text', 'menu' or 'bitmap'.
# new: install=bmp      old: install=/boot/boot-bmp.b
# new: install=text     old: install=/boot/boot-text.b
# new: install=menu     old: install=/boot/boot-menu.b or boot.b
# default: 'menu' is default, unless you have a bitmap= line
# Note: install=bmp must be used to see the bitmap menu.
# install=menu
# install=bmp
install=bmp

# Specifies the number of _tenths_ of a second LILO should
# wait before booting the first image.  LILO
# doesn't wait if DELAY is omitted or if DELAY is set to zero.

delay=20

# Prompt to use certaing image. If prompt is specified without timeout,
# boot will not take place unless you hit RETURN
prompt
timeout=50

# Specifies the location of the map file. If MAP is
# omitted, a file /boot/map is used.
map=/boot/map

# Specifies the VGA text mode that should be selected when
# booting. The following values are recognized (case is ignored):
#   NORMAL  select normal 80x25 text mode.
#   EXTENDED  select 80x50 text mode. The word EXTENDED can be
#     abbreviated to EXT.
#   ASK  stop and ask for user input (at boot time).
#   <number>  use the corresponding text mode. A list of available modes
#     can be obtained by booting with  vga=ask  and pressing [Enter].
vga=791

# You can set a password here, and uncomment the 'restricted' lines
# in the image definitions below to make it so that a password must
# be typed to boot anything but a default configuration.  If a
# command line is given, other than one specified by an 'append'
# statement in 'lilo.conf', the password will be required, but a
# standard default boot will not require one.
#
# This will, for instance, prevent anyone with access to the
# console from booting with something like 'Linux init=/bin/sh',
# and thus becoming 'root' without proper authorization.
#
# Note that if you really need this type of security, you will
# likely also want to use 'install-mbr' to reconfigure the MBR
# program, as well as set up your BIOS to disallow booting from
# removable disk or CD-ROM, then put a password on getting into the
# BIOS configuration as well.  Please RTFM 'install-mbr(8)'.
#
# password=tatercounter2000

# You can put a customized boot message up if you like.  If you use
# 'prompt', and this computer may need to reboot unattended, you
# must specify a 'timeout', or it will sit there forever waiting
# for a keypress.  'single-key' goes with the 'alias' lines in the
# 'image' configurations below.  eg: You can press '1' to boot
# 'Linux', '2' to boot 'LinuxOLD', if you uncomment the 'alias'.
#
# message=/boot/bootmess.txt
# prompt
# single-key
# delay=100
# timeout=100

# Kernel command line options that apply to all installed images go
# here.  See: The 'boot-prompt-HOWO' and 'kernel-parameters.txt' in
# the Linux kernel 'Documentation' directory.
#
# append=""
# Boot up Linux by default.
#
default="Linux(2.6)-2"

image=/boot/vmlinuz
label="Linux"
initrd=/boot/initrd.img
append="ramdisk_size=100000 init=/etc/init lang=us apm=power-off nomce alsa"
read-only
image=/boot/vmlinuz-2.4.26
label="Linux(2.4)-1"
initrd=/boot/initrd.img-2.4.26
append="ramdisk_size=100000 init=/etc/init lang=us apm=power-off nomce alsa"
read-only

image=/boot/vmlinuz-2.6.6
label="Linux(2.6)-2"
initrd=/boot/initrd.img-2.6.6
append="ramdisk_size=100000 init=/etc/init lang=us apm=power-off nomce alsa"
read-only

# If you have another OS on this machine to boot, you can uncomment the
# following lines, changing the device name on the 'other' line to
# where your other OS' partition is.
#
# other=/dev/hda4
# label=HURD
# restricted
# alias=3
other=/dev/hda1
label="Windows(hda1)"
other=/dev/hda2
label="WinXP/2K(hda2)"
Back to top
Profile PM 
7 replies since Aug. 06 2005,22:14 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: dsl and reiserfs

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code