LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-25-2005, 02:19 PM   #106
wooshyFox
Member
 
Registered: Feb 2005
Distribution: debian sarge
Posts: 113

Original Poster
Rep: Reputation: 15

... /lib/modules has a directory called
2.6.10-mm3-250405
which contain...
lrwxrwxrwx 1 root root 21 Feb 25 09:22 build -> /usr/src/linux-2.6.10
drwxr-xr-x 7 root root 4096 Feb 25 09:22 kernel
-rw-r--r-- 1 root root 55050 Feb 25 09:22 modules.alias
-rw-r--r-- 1 root root 69 Feb 25 09:22 modules.ccwmap
-rw-r--r-- 1 root root 16342 Feb 25 09:22 modules.dep
-rw-r--r-- 1 root root 73 Feb 25 09:22 modules.ieee1394map
-rw-r--r-- 1 root root 205 Feb 25 09:22 modules.inputmap
-rw-r--r-- 1 root root 10168 Feb 25 09:22 modules.isapnpmap
-rw-r--r-- 1 root root 12839 Feb 25 09:22 modules.pcimap
-rw-r--r-- 1 root root 12618 Feb 25 09:22 modules.symbols
-rw-r--r-- 1 root root 145351 Feb 25 09:22 modules.usbmap
lrwxrwxrwx 1 root root 21 Feb 25 09:22 source -> /usr/src/linux-2.6.10
 
Old 02-25-2005, 02:22 PM   #107
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
To tidy up from the package install..

remove the via-rhine & via module names from /etc/modules & /etc/modules/aliases as they are compiled in now..
and do update-modules

Do iptables-save to show any existing loaded rules

and set up another session to ping the boxes NIC
You can then watch it go down and come back up!!
Kind of the last torture before judgement day!!
 
Old 02-25-2005, 02:24 PM   #108
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
Do you have linear in lilo.conf?
 
Old 02-25-2005, 02:25 PM   #109
wooshyFox
Member
 
Registered: Feb 2005
Distribution: debian sarge
Posts: 113

Original Poster
Rep: Reputation: 15
done
- now?.................
 
Old 02-25-2005, 02:29 PM   #110
wooshyFox
Member
 
Registered: Feb 2005
Distribution: debian sarge
Posts: 113

Original Poster
Rep: Reputation: 15
this has been a long thread - and it might not be over yet..... do you think this is what irc was invented for (might have been quicker!)
 
Old 02-25-2005, 02:29 PM   #111
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
Ooops..

I've just killed your lilo...

The -l option forced LINEAR... BAD BAD BAD

Do lilo -v again pls
 
Old 02-25-2005, 02:30 PM   #112
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
Then do lilo -R linux.new

Then it's safe to reboot...
 
Old 02-25-2005, 02:30 PM   #113
wooshyFox
Member
 
Registered: Feb 2005
Distribution: debian sarge
Posts: 113

Original Poster
Rep: Reputation: 15
no linear in lilo.conf: should there be?
 
Old 02-25-2005, 02:48 PM   #114
wooshyFox
Member
 
Registered: Feb 2005
Distribution: debian sarge
Posts: 113

Original Poster
Rep: Reputation: 15
typing:
lilo -v
gives me:
LILO version 22.6.1, Copyright (C) 1992-1998 Werner Almesberger
Development beyond version 21 Copyright (C) 1999-2004 John Coffman
Released 17-Nov-2004, and compiled at 20:30:43 on Dec 9 2004
Debian GNU/Linux

Reading boot sector from /dev/hda
Using MENU secondary loader
Calling map_insert_data

Boot image: /boot/vmlinuz-2.4.18-bf2.4
Added Linux *

Boot image: /boot/vmlinuz-2.6.10-mm3-250405
Added linux.new

Writing boot sector.
/boot/boot.0300 exists - no boot sector backup copy made.

typing :
lilo -R linux.new
...nothing

OK 2 go now?............... (sound of held breath)
 
Old 02-25-2005, 02:51 PM   #115
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
Ok
time to go now, if you have to... hehehe

Got the ping going??
 
Old 02-25-2005, 03:08 PM   #116
wooshyFox
Member
 
Registered: Feb 2005
Distribution: debian sarge
Posts: 113

Original Poster
Rep: Reputation: 15
hooray - it's back up! and with the right linux version

and iptables works!
well done!
i am going out for a beer now!
before i die of thirst.

thanx
 
Old 02-25-2005, 03:16 PM   #117
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
Well done there!

That's a sarge boot without initrd or udev or devfs or sysfs..

Last edited by peter_robb; 02-25-2005 at 03:18 PM.
 
Old 02-25-2005, 06:11 PM   #118
wooshyFox
Member
 
Registered: Feb 2005
Distribution: debian sarge
Posts: 113

Original Poster
Rep: Reputation: 15
....is there anything i need to do to get the system to boot to that image every time...

like modify lilo.conf (make linux.new the default) and run lilo again?
 
Old 02-28-2005, 04:18 AM   #119
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
Yes, all those..

In lilo.conf, change the Default = line to say linux.new
then lilo -v to make it stick..

The only time you will need to reboot is to test the boot procedure, eg simulate mains fail, or changing kernels.
Because of the extra kernels etc in /boot, it would be a good time to remove any files not related to linux.new or the last kernel, including the /lib/modules directories of the unrelated kernels..
Keep the sources! In fact make a copy of the entire directory exactly as it is now.
Make the directory name of the original sources match the Makefile version number.

There will be a few modifications to recommend once you get to running as a backup server, but they should be different threads...
Congratulations..
 
Old 02-28-2005, 08:01 AM   #120
wooshyFox
Member
 
Registered: Feb 2005
Distribution: debian sarge
Posts: 113

Original Poster
Rep: Reputation: 15
OK - changed linux.new to the default in lilo.conf & ran lilo... rebooted everything huncky-dory..... have now set up a nice simple firewall and can get on with what i bought the thing for!

Thanks for your help Peter (what a nice man!)
 
  


Reply



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
iptables module config swmok Linux - Networking 3 04-17-2005 08:42 AM
trouble with iptables module wazilian Linux - Networking 0 09-24-2004 02:55 PM
trouble with iptables module wazilian Linux - Networking 0 09-24-2004 02:55 PM
iptables module error? hotrodowner Linux - Networking 1 04-02-2003 08:07 AM
IPTABLES module won't load TruckStuff Linux - General 1 05-10-2002 11:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:21 AM.

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