Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
07-11-2006, 06:10 PM
|
#1
|
Senior Member
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu, Mint 18.1, Debian Jessie
Posts: 1,207
Rep:
|
can ReiserFS on / mix with 2.4 kernels on a 386?
I have an old pc that is running low on memory and I would like to see if a kernel 2.4.32 compiled for an i386 would help me. I compiled the kernel but it won't boot now...complains on reboot that it cannot find my / on an ext2 partition (the .config shows that Reiser is built in). My / is on a ReiserFS. Can the 2.4 kernels compiled for a 386 work with the ReiserFS?
|
|
|
07-12-2006, 02:17 AM
|
#2
|
LQ Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852
|
I don't see why it wouldn't work, but I can't say I have ever tried.
|
|
|
07-12-2006, 02:30 AM
|
#3
|
Member
Registered: Apr 2006
Location: A comfy chair...
Distribution: Slackware
Posts: 111
Rep:
|
Yes. And so should ext2/3 if you compiled them in.
|
|
|
07-12-2006, 02:35 AM
|
#4
|
Member
Registered: Aug 2005
Posts: 235
Rep:
|
Did you create a initial ramdisk? You need one for Reiserfs. Run the command:
$ mkinitrd -c -k 2.4.32 -m reiserfs
It'll create a /boot/initrd.gz file. You then need to edit /etc/fstab ("joe /etc/fstab") and add the following line under the section for your kernel:
$ initrd = /boot/initrd.gz
Save (Control + K + X). Then run lilo:
$ lilo
It should update successfully. If you get an error message make sure you didn't type something incorrectly. After a successful update then reboot.
|
|
|
07-12-2006, 04:52 AM
|
#5
|
Member
Registered: Oct 2003
Location: Kuala Lumpur, Malaysia
Distribution: Slackware 13.37 current
Posts: 770
Rep:
|
Quote:
Originally Posted by pxumsgdxpcvjm
Did you create a initial ramdisk? You need one for Reiserfs.
|
I don't think this is right.
Pat compiled reiserfs (not a module!)into the stock 2.4.32 series and I have installed this kernel on machines with only a single / partition, formatted with reiserfs3.
The mkinitrd ramdisk is necesary for the 2.6.22 kernel in testing as reiserfs is a module.
|
|
|
07-12-2006, 04:58 AM
|
#6
|
Member
Registered: Aug 2005
Posts: 235
Rep:
|
It don't sound like he is using Pat's kernel.
|
|
|
07-12-2006, 05:15 AM
|
#7
|
Senior Member
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu, Mint 18.1, Debian Jessie
Posts: 1,207
Original Poster
Rep:
|
You're both right-I'm using Pat's config for the 2.4.31 and building my own 2.4.32 kernel with CPU changed to 386. I tried the initrd command and got an error about Reiser module not found. Perhaps I should recompile the kernel and pick Reiser as a module and then try the initrd command?
EDIT: also, I noticed that most of the packages in Slack 10.2 are compiled for a 486-would that effect the boot of a 386 kernel?
Last edited by linuxhippy; 07-12-2006 at 05:41 AM.
|
|
|
07-12-2006, 06:07 AM
|
#8
|
Member
Registered: Aug 2005
Posts: 235
Rep:
|
Quote:
Originally Posted by linuxhippy
EDIT: also, I noticed that most of the packages in Slack 10.2 are compiled for a 486-would that effect the boot of a 386 kernel?
|
Seems we forgot that detail. You're gonna have to use an older version of Slackware. 386 was dropped in 9.1.
My solution assumed that you were getting a VFS syncing error. Since you have reiser built-in then that shouldn't be exact issue.
|
|
|
07-12-2006, 06:45 AM
|
#9
|
Senior Member
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu, Mint 18.1, Debian Jessie
Posts: 1,207
Original Poster
Rep:
|
could I just rebuild certain packages in Slack 10.2 for a 386? If so, which ones?
|
|
|
07-12-2006, 06:54 AM
|
#10
|
Member
Registered: Nov 2003
Posts: 360
Rep:
|
I think that would mean building most of the packages again. Cause mainly all are built for i486 or higher arch. What you should do, like davidsrsb said is try a lower version of Slack where packages wore built for i386, or you can try rebuilding the packages from a series for i386, maybe the first ones would be e2fsprogs and reiserfsprogs !? Your choice.
|
|
|
07-12-2006, 08:12 PM
|
#11
|
Senior Member
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu, Mint 18.1, Debian Jessie
Posts: 1,207
Original Poster
Rep:
|
I think I should just try to add some SDRAM to my server...it has 1 open bay but the mobo is 9 years old (1997) and I don't know how much RAM it can take. It has 128 MB RAM, 200 MHz CPU Pentium in a Gateway 2000 box. I couldn't find any info on it on the web.
|
|
|
07-13-2006, 12:51 AM
|
#12
|
Member
Registered: Apr 2006
Location: A comfy chair...
Distribution: Slackware
Posts: 111
Rep:
|
Quote:
Originally Posted by linuxhippy
I think I should just try to add some SDRAM to my server...it has 1 open bay but the mobo is 9 years old (1997) and I don't know how much RAM it can take. It has 128 MB RAM, 200 MHz CPU Pentium in a Gateway 2000 box. I couldn't find any info on it on the web.
|
I _could_ be wrong, but I'm pretty sure were talking about an i486 here... 200 Mhz?
http://en.wikipedia.org/wiki/Intel_80486
|
|
|
07-13-2006, 01:27 AM
|
#13
|
Member
Registered: Jan 2006
Location: Bakersfield, California
Distribution: CentOS 5.3, FreeBSD 7.2, Fedora 11
Posts: 83
Rep:
|
The original Pentium processors were i586 afaik. I've installed Slack 10.2 on a fair amount of old machines for testing, the oldest was a 233 Mhz Pentium (Can't remember if it was a I/II or Pro).
Edit: Also thought I'd add that I use ReiserFS for all my file systems and I use a 2.6.16.20 kernel that I compiled myself. ReiserFS is built into the kernel and I never make a ramdisk.
Last edited by Voltar; 07-13-2006 at 01:30 AM.
|
|
|
07-13-2006, 03:18 AM
|
#14
|
Member
Registered: Oct 2003
Location: Kuala Lumpur, Malaysia
Distribution: Slackware 13.37 current
Posts: 770
Rep:
|
A P1 200 (- MMX ISTR) is a 586 and all of the standard Slackware packages should be fine.
In particular the 2.4.32 bare.i kernel and modules in "current" should boot without any modifications.
Try burning a memtest86 iso file onto a cd (or an Ubuntu install disc memtest) to check that your hardware is OK.
|
|
|
07-13-2006, 05:31 AM
|
#15
|
Senior Member
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu, Mint 18.1, Debian Jessie
Posts: 1,207
Original Poster
Rep:
|
thanks for all the info. My current setup of a 486 kernel on a P1 works fine....I just don't like how most of my memory is being used according to top. I was told that a 386 kernel would use less memory. I do have a memtest program on a live system rescue cd that I'll use to see if alls ok if I put in another RAM chip.
Could I mess up my pc permanently if I put in too much RAM?
|
|
|
All times are GMT -5. The time now is 06:35 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|