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 |
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.
|
|
|
02-25-2005, 02:19 PM
|
#106
|
Member
Registered: Feb 2005
Distribution: debian sarge
Posts: 113
Original Poster
Rep:
|
... /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
|
|
|
02-25-2005, 02:22 PM
|
#107
|
Senior Member
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458
Rep:
|
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!!
|
|
|
02-25-2005, 02:24 PM
|
#108
|
Senior Member
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458
Rep:
|
Do you have linear in lilo.conf?
|
|
|
02-25-2005, 02:25 PM
|
#109
|
Member
Registered: Feb 2005
Distribution: debian sarge
Posts: 113
Original Poster
Rep:
|
done
- now?.................
|
|
|
02-25-2005, 02:29 PM
|
#110
|
Member
Registered: Feb 2005
Distribution: debian sarge
Posts: 113
Original Poster
Rep:
|
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!)
|
|
|
02-25-2005, 02:29 PM
|
#111
|
Senior Member
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458
Rep:
|
Ooops..
I've just killed your lilo...
The -l option forced LINEAR... BAD BAD BAD
Do lilo -v again pls
|
|
|
02-25-2005, 02:30 PM
|
#112
|
Senior Member
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458
Rep:
|
Then do lilo -R linux.new
Then it's safe to reboot...
|
|
|
02-25-2005, 02:30 PM
|
#113
|
Member
Registered: Feb 2005
Distribution: debian sarge
Posts: 113
Original Poster
Rep:
|
no linear in lilo.conf: should there be?
|
|
|
02-25-2005, 02:48 PM
|
#114
|
Member
Registered: Feb 2005
Distribution: debian sarge
Posts: 113
Original Poster
Rep:
|
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)
|
|
|
02-25-2005, 02:51 PM
|
#115
|
Senior Member
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458
Rep:
|
Ok
time to go now, if you have to... hehehe
Got the ping going??
|
|
|
02-25-2005, 03:08 PM
|
#116
|
Member
Registered: Feb 2005
Distribution: debian sarge
Posts: 113
Original Poster
Rep:
|
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
|
|
|
02-25-2005, 03:16 PM
|
#117
|
Senior Member
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458
Rep:
|
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.
|
|
|
02-25-2005, 06:11 PM
|
#118
|
Member
Registered: Feb 2005
Distribution: debian sarge
Posts: 113
Original Poster
Rep:
|
....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?
|
|
|
02-28-2005, 04:18 AM
|
#119
|
Senior Member
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458
Rep:
|
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..
|
|
|
02-28-2005, 08:01 AM
|
#120
|
Member
Registered: Feb 2005
Distribution: debian sarge
Posts: 113
Original Poster
Rep:
|
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!)
|
|
|
All times are GMT -5. The time now is 09:30 AM.
|
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
|
|