Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.


  Search this Thread
Old 12-09-2002, 04:18 AM   #1
LQ Newbie
Registered: Dec 2002
Posts: 2

Rep: Reputation: 0
Unhappy Linux woes

Hi, suppose first I should let ye know Iím definitely a newbie to Linux so apologies if this is stupid.

Anyway basically I wanted to understand Linux a bit better so I decided to follow the Linux From Scratch Book. Version 4.0. I started with a blank harddrive, partitioned it into three (1 from swap) installed Vector Linux on one partition, and prepared to install LFS on the other.

No need to bore you with details, but all seemed to be going well till it came to LILO, then nothing LFS wouldnít boot, or actually it may have booted however the screen stayed blank. No big deal though, probably something Iíd messed on.

The real problem came with the fact that Vector seemed to boot grand, but wouldnít start x. Ram VASM (Vector setup program) and it complained about missing directories/files. I was stumped so just reinstalled Vector, and managed to LILO to boot both Linux Versions this time.

Then I proceeded to install XFree86 on LFS, seemed to work. Then installed Fluxbox, it complained about not being able to find terminal-emulators, but eventually got it to work.

So great, for half an hour things were going quite well, but the menus in my LFS Fluxbox were pretty empty so I decided to boot into Vector to compare the menu files.

Didnít do much, booted back into LFS, hmm, the color depth and resolution reverted back to the way they were when I first installed XFree86. Tried changing the /etc/XF86Config-4 file, no effect. Same for the /etc/X11/XF86Config-4 file.

Booted back into Vector to copy its config file over. Hmm, xterm wonít run. Atrem was running so used that, copied the file. Reboot, hmm, sends TERM and KILL signals, says something about all processes being finished but doesnít reboot. Computer wonít respond, press reset.

Boot into LFS, config file has no effect. Getting frustrated so decide to check Vector. Seems to be booting ok but then asks me to enter runlevel, try 3, nothing. Same for 5.

So theres my story, which in summation simply reads; while installing LFS I managed to screw up an install of Vector TWICE. Worse both times the install seemed to die as a result of rebooting as I donít think Iíd done anything too major just prior to its death.

Also my LFS install which seemed to work grand just stopped getting the color depth and resolution right after a reboot prior to which no changes were made. Is rebooting in Linux this risky

So if anyone is still reading, Iíd like to ask some questions;

1) Which XF86Config is read, /etc/XF86Config-4 or /etc/X11/XF86Config-4 or something else maybe?
2) Fluxbox_generate_menu complained that there were no terminal-emulators in my path. I got around this by specifying xterm with the Ėt option, but how would I define a terminal-emulator in my path. When I installed in Vector this error didnít occur.
3) Any ideas why Vector died? Note both times the death wasnít instant. Iíd boot in, notice something was amiss, reboot, then things would be worse. One or two reboots later itíd be dead. Could this be a harddisk problem?

Thanks for reading,

Last edited by Eoin; 12-09-2002 at 04:19 AM.
Old 12-10-2002, 05:08 PM   #2
Registered: Jul 2002
Location: Santa Cruz, CA
Distribution: lfs
Posts: 538

Rep: Reputation: 30
1) The only thing that I can think of is that you are having permission problems with those files. Are you logged in as root? You can also put a XF68config file in the users home directory... try that out if nothing else works.

2) Try editing the menu file by hand. It's really not too difficult to see the syntax in the file ( ~/.fluxbox/menu). here's a little snippet from mine:

[begin] (Fluxbox-0.1.10)

[submenu] (Terminals)
        [exec] (xterm) {xterm -fg white -bg black}

[submenu] (Browsers)
        [exec] (mozilla) {mozilla}
that part'll give you an xterm mozilla on the menu.

3) I've never used vector, but this whole situation does sound really wierd.

sorry if I didn't help much, this is all I can think of.

good luck
Old 12-11-2002, 07:47 AM   #3
LQ Newbie
Registered: Dec 2002
Posts: 2

Original Poster
Rep: Reputation: 0
Yeah it is wierd, but most likely is all my fault. I'm sure I made some stupid mistakes installing LFS.

I know for a fact certain progs which should have been installed weren't in the various bin directories, find for example. Which could easily have been a sign of larger and bigger mistakes.

To avoid the hassle I simply reinstalled vector, wiped and then re-did LFS. Wasn't too bad actually, with some hefty copy & pasting I got the whole process done in about 3 hours .

Will try xfree and fluxbox again tonight, fingers crossed...
Old 12-21-2002, 02:09 PM   #4
LQ Newbie
Registered: Dec 2002
Location: Canada
Distribution: Debian, BSD, IRIX, MacOS, Solaris, AIX, HP-UX, other Unix, other Linux, other, windos (declining...)
Posts: 25

Rep: Reputation: 15
The corruption back and forth you were seeing is pretty strange, all right. Some situations which might cause such a thing could include one of the distros mounting the other one's partitions improperly. Such as if you used Ext3 as your filesystem for LFS, but Vector mounted its partition(s) as Ext2. If your partition table was out of whack enough to have overlapping partitions, that would certainly produce problems as you boot back and forth, but most likely worse problems than you saw.

If you continue having trouble, I'd suggest installing just one distro for a while -- the one that seemed to work best for you -- and maybe experiment again with dual-booting after you've gotten more comfortable with some of the configuration options. Best of luck!


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
Peanut linux installation woes r121 Linux - Newbie 2 05-27-2005 12:39 PM
Linux for PPC woes bakuretsu Linux - General 3 07-11-2003 09:12 AM
Linux MD RAID woes eck Linux - Hardware 0 01-11-2003 08:52 PM
Yet even more Linux woes..... johnnyd Linux - General 5 05-01-2001 02:59 PM
Linux installation/questions and woes...... johnnyd Linux - General 1 04-25-2001 10:32 AM > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 01:19 AM.

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