Pages

Search

How to modify Distro's CD? - Forums Linux

How to modify Distro's CD? - Forums Linux


How to modify Distro's CD?

Posted: 17 Apr 2005 01:32 AM PDT

On 17 Apr 2005 01:32:18 -0700 Awie <net> wrote:

| Dear Experts,
|
| I want to modify the Linux ISO file to upgrade the current kernel with
| the latest one for my project.
|
| For example, the distro I use bring kernel 2.4.22 then I need to
| upgrade to 2.4.29 to get latest driver for my device. I was success to
| update the vmlinuz and some RPMS with kernel 2.4.29. Setup worked and
| detected my device.
|
| However it could not find modules (..../lib.modules/the-new-version).
| And I found that the modified CD cannot copy vmlinuz (new version) to
| directory boot (GRUB cannot load vmlinuz).
|
| Would you tell me how to correctly do it?
|
| Your answer is very appreciated and waited for.
|
| Thanks a lot for your help and best regards.
|
| Awie

I always recompile my own kernels. Then I don't even have to worry about
modules or building initrds. The kernel is customized to my set of devices
though I do include all the devices for all my machines in each kernel so
I only need to manage one image which could be used on any machine.

If you need special device drivers just to access your hard drive, this can
be a problem. This is one reason why I always use an IDE disk, or a very
common SCSI controller, for the system, and leave more complex stuff like a
huge RAID array to purely the database by itself (the only cases where I
would have such a thing).

--
-----------------------------------------------------------------------------
| Phil Howard KA9WGN | http://linuxhomepage.com/ http://ham.org/ |
| (first name) at ipal.net | http://phil.ipal.org/ http://ka9wgn.ham.org/ |
-----------------------------------------------------------------------------

rpmbuild error during kernel recompile

Posted: 16 Apr 2005 02:02 PM PDT

ca wrote:
 
http://www.brandonhutchinson.com/Recompiling_the_Fedora_Core_kernel.html 

Try typing the command 'uname -m' without the quotes first, then
substitute the results into the command, example below;

$ uname -m
i686

$ sudo rpmbuild -bp --target=i686 kernel-2.6.spec

Step 7 from you link should be;

sudo make ;(combines both makes into one)
sudo make modules_install
sudo make install
sudo make rpm ;(creates a binary rpm of your work)

You should also review;
http://www.digitalhermit.com/linux/Kernel-Build-HOWTO.html


--
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety." -- B. Franklin, 1759

Wireless in Linux needs HELP

Posted: 16 Apr 2005 11:53 AM PDT

Trent Buck wrote: 
One thing I try to do is avoid buying parts or PC's containing parts
from vendors like Broadcomm who have no intention of even releasing
binaries for their drivers. If you're considering a Dell laptop, and
have a choice between the Dell 1300 (or whatever the ABG card is) and
the intel 2200 or 2900, I suggest going the Intel route.

Minimum hardware spec for various Linux installations?

Posted: 16 Apr 2005 10:42 AM PDT


Cuzman (com) writes: 

All distributions pull from the same pool of the kernel, utilities
and applications. They differ in philosopy and what is tossed
into the distribution. They are more alike than different.

One difference is the installation process, which may appear
to be the biggest step for the newcomer but which is a relatively
small thing compared to actually using the operating system.

And the actually installer that a distribution uses is the defining
point on what hardware it will work with. Some installers are very
bloated, so you need a massive system to do the installation. Others
use a simpler installer, and they demand much less resource to install.

But the requirements for the installer have nothing to do with the
use of that distribution. Given the same version of the actual kernel
or the applications, either they will run fine on a given speed CPU and
given ram, or not. The specific distribution has nothing to do with this.

Hence, you will see "requirements" for a distribution, and then see fine
print telling you it will actually run in a much lesser system. But you
can't install unless you have the bloated system.

In some cases, they include a non-GUI installer so you don't need a large
system to install.

Installation aside, the hardware will affect how the applications run.
But since the distributions try to compete with each other without having
much different about them, few will go to the radical step of removing
applications. So you will have a fine selection of what to use; if
this GUI is too slow, then you can switch to one of the other GUIs
that come with the distribution. If the CPU is too slow (and I'd
not call that CPU slow), then you can always switch to text based
applications rather than GUI based. But switching to another
distribution will not fix this problem, since they will be using
the same applications.

Michael

Firefox download "-x% of file" - help

Posted: 15 Apr 2005 09:16 PM PDT

On Sat, 16 Apr 2005 07:16:47 +0300, Michael Badt wrote: 

You can use wget

$ cd /where/to/store_download
$ wget -c --passive-ftp ftp://somewhere/full_path/filename.2get

man wget for lots of options.

Can't Install DHCP Server on RedHat 9

Posted: 15 Apr 2005 07:22 PM PDT


"Davide Bianchi" <net> ?????
news:onlyforfun.net... 
http://rpm.pbone.net/index.php3/stat/4/idpl/1799129/com/dhcp-3.0pl2-owl10.i3
86.rpm.html 

I see. Thanks!!


LAN icon on system tray - like 2000/XP machine

Posted: 14 Apr 2005 07:12 PM PDT

=) Joe (= wrote:
 

The newest KDE has one called knemo. You can use ksysguard to display nice
graphs. Or gkrellm. Or karamba...

--
Ruurd
..o.
...o
ooo

How to stop using Ext3?

Posted: 14 Apr 2005 06:23 PM PDT

["Followup-To:" header set to comp.os.linux.misc.]
On Thu, 14 Apr 2005 18:23:10 -0700, Chris Carlen
<gov> wrote: 
tune2fs
 

You didn't shut down cleanly; if you were using ext2, fsck would run and
take a lot longer.


--
"I deleted a file from my PC last week and I have just realized that I
need it. If I turn my system clock back two weeks will I have my file
back again?"

pam error message

Posted: 14 Apr 2005 06:20 PM PDT

On Thu, 14 Apr 2005 22:42:04 -0400, Bill Marcum wrote:
 

Ah Ok.

Yes the group user owned it. A simple chown root:root / fixed it.

I don't know how it happened.

Thanks


--
Tayo'y Mga Pinoy

Where did dhcp go?

Posted: 13 Apr 2005 10:30 PM PDT

Michael Hennebry <cs.ndsu.nodak.edu> wrote: 

Then there is no sshd server running on the target, or it is firewalled
from you.

I would imagine the latter. So open its firewall for you (i.e. your IP
address). Heck, open it anyway. Port 22 is meant to be accessed. That's
what it is for. DOn't leave any open passwords, and that's that.

 

Then you mean "I was not then capable", not "I cannot".

 

Then open your firewall or run sshd there. End. You can ping it fine,
so there is nothing wrong with your network setup, which dhcp is meant
to configure, and evidently has configured, satisfactorily.

Peter

smartctl's "Non-medium error count" (SCSI drives)

Posted: 13 Apr 2005 06:05 PM PDT

On Wed, 13 Apr 2005 18:04:09 -0700, prg wrote: 

Now that's interesting. I tried copying one of the affected files from the
drive, which died with an I/O error - suggesting that the block couldn't
be read at all. Yet smartctl output is only showing non-medium events and
nothing under read/write events...

That suggests cabling to me, but it's funny how the other drive on the bus
has been fine (I'm well used to SCSI so I've seen some pretty odd things
happen though!). Maybe there's a problem at the drive connector to that
specific drive - I'll have a look.

Oddly enough, an hour after I posted, the problem had gone away again,
which is rather spooky. Nothing on the system was scheduled to kick in
around the time of the problems, nor were any big inductive loads nearby
active (!) or anything like that. I hate random glitches :-(
 

Will do - thanks. I'll probably copy all the data off the drive, wipe it
and do a destructive test/rebuild of the filesystem just to see if
that throws up any bad blocks. I'll double-check cabling first though
:-)

cheers

Jules

mdadm -A (1.7.0) segfaults; md raid device not started on boot

Posted: 13 Apr 2005 02:00 PM PDT

Walter Mautner wrote: 


I didn't post after "Mounted root" because there's no further mention of
md. The entire dmesg output is below, for completeness.

How does the kernel know to load the raid module when I invoke mdadm,
but isn't able to do this in the boot process? I'd like to be able to
get this working *without* having to recompile the kernel, if it's
possible. The root filesystem is ext3 on a normal hd device, and it's
already mounted by the time we want to start up the raid device, so in
my mind we should be able to load the raid1 module at this stage.

Would it be easier to add raid1 to initrd, or to just recompile the kernel?

Thanks,
Alistair.


[dmesg output, after boot has stopped when filesystem on md device can't
be mounted. This is *all* of the output.]

Linux version 2.6.8.1-12mdk (mandrakesoft.com) (gcc version
3.4.1 (Mandrakelinux (Alpha 3.4.1-3mdk)) #1 Fri Oct 1 12:53:41 CEST 2004
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000000c000000 (usable)
BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
0MB HIGHMEM available.
192MB LOWMEM available.
On node 0 totalpages: 49152
DMA zone: 4096 pages, LIFO batch:1
Normal zone: 45056 pages, LIFO batch:11
HighMem zone: 0 pages, LIFO batch:1
DMI 2.0 present.
ACPI disabled because your bios is from 98 and too old
You can enable it with acpi=force
Built 1 zonelists
Local APIC disabled by BIOS -- reenabling.
Found and enabled local APIC!
Initializing CPU#0
Kernel command line: BOOT_IMAGE=linux ro root=301 acpi=ht resume=/dev/hda5
PID hash table entries: 1024 (order 10: 8192 bytes)
Detected 233.365 MHz processor.
Using tsc for high-res timesource
Console: colour VGA+ 80x25
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 190952k/196608k available (1859k kernel code, 5000k reserved,
578k data, 200k init, 0k highmem, 0k BadRAM)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay loop... 458.75 BogoMIPS
Security Scaffold v1.0.0 initialized
SELinux: Disabled at boot.
Capability LSM initialized
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: After generic identify, caps: 0080fbff 00000000 00000000 00000000
CPU: After vendor identify, caps: 0080fbff 00000000 00000000 00000000
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 512K
CPU: After all inits, caps: 0080fbff 00000000 00000000 00000040
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: Intel Pentium II (Klamath) stepping 04
Checking 'hlt' instruction... OK.
init init/main.c:689
init init/main.c:702
init init/main.c:707
do_pre_smp_initcalls init/main.c:653
do_pre_smp_initcalls init/main.c:659
init init/main.c:711
init init/main.c:714
enabled ExtINT on CPU#0
ESR value before enabling vector: 00000000
ESR value after enabling vector: 00000000
Using local APIC timer interrupts.
calibrating APIC timer ...
...... CPU clock speed is 233.0314 MHz.
...... host bus clock speed is 66.0660 MHz.
init init/main.c:716
init init/main.c:718
checking if image is initramfs...it isn't (no cpio magic); looks like an
initrd
ACPI: Looking for DSDT in initrd ... not found!
Freeing initrd memory: 184k freed
init init/main.c:724
do_basic_setup init/main.c:634
do_basic_setup init/main.c:636
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.10 entry at 0xfd9cc, last bus=1
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20040326
ACPI: Interpreter disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
PnPBIOS: Disabled
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: Using IRQ router PIIX/ICH [8086/7110] at 0000:00:07.0
vesafb: probe of vesafb0 failed with error -6
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16ac)
audit: initializing netlink socket (disabled)
audit(1113597246.4294966468:0): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
devfs: 2004-01-31 Richard Gooch (csiro.au)
devfs: boot_options: 0x0
Initializing Cryptographic API
Limiting direct PCI/PCI transfers.
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing enabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 32000K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PIIX4: IDE controller at PCI slot 0000:00:07.1
PIIX4: chipset revision 1
PIIX4: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xfc90-0xfc97, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xfc98-0xfc9f, BIOS settings: hdc:DMA, hdd:DMA
Probing IDE interface ide0...
hda: FUJITSU MPD3173AT, ATA DISK drive
hdb: ST3160023A, ATA DISK drive
Using anticipatory io scheduler
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdc: TOSHIBA CD-ROM XM-6202B, ATAPI CD/DVD-ROM drive
hdd: ST3160023A, ATA DISK drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 128KiB
hda: 33793232 sectors (17302 MB) w/512KiB Cache, CHS=33525/16/63, UDMA(33)
/dev/ide/host0/bus0/target0/lun0: p1 p2 < p5 p6 >
hdb: max request size: 1024KiB
hdb: 312581808 sectors (160041 MB) w/8192KiB Cache, CHS=19457/255/63,
UDMA(33)
/dev/ide/host0/bus0/target1/lun0: p1
hdd: max request size: 1024KiB
hdd: 312581808 sectors (160041 MB) w/8192KiB Cache, CHS=19457/255/63,
UDMA(33)
/dev/ide/host0/bus1/target1/lun0: p1
mice: PS/2 mouse device common for all mice
serio: i8042 AUX port at 0x60,0x64 irq 12
input: PS/2 Generic Mouse on isa0060/serio1
serio: i8042 KBD port at 0x60,0x64 irq 1
input: AT Translated Set 2 keyboard on isa0060/serio0
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
NET: Registered protocol family 2
IP: routing cache hash table of 2048 buckets, 16Kbytes
TCP: Hash tables configured (established 16384 bind 32768)
NET: Registered protocol family 1
BIOS EDD facility v0.16 2004-Jun-25, 3 devices found
init init/main.c:726
md: Autodetecting RAID arrays.
md: autorun ...
md: considering hdd1 ...
md: adding hdd1 ...
md: adding hdb1 ...
md: created md0
md: bind<hdb1>
md: bind<hdd1>
md: running: <hdd1><hdb1>
md: personality 3 is not loaded!
md :do_md_run() returned -22
md: md0 stopped.
md: unbind<hdd1>
md: export_rdev(hdd1)
md: unbind<hdb1>
md: export_rdev(hdb1)
md: ... autorun DONE.
RAMDISK: Compressed image found at block 0
VFS: Mounted root (ext2 filesystem).
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
Freeing unused kernel memory: 200k freed
usbcore: registered new driver usbfs
usbcore: registered new driver hub
USB Universal Host Controller Interface driver v2.2
PCI: Found IRQ 5 for device 0000:00:07.2
uhci_hcd 0000:00:07.2: UHCI Host Controller
uhci_hcd 0000:00:07.2: irq 5, io base 0000fca0
uhci_hcd 0000:00:07.2: new USB bus registered, assigned bus number 1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
EXT3 FS on hda1, internal journal
Adding 1124508k swap on /dev/hda5. Priority:-1 extents:1
Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected an Intel 440LX Chipset.
agpgart: Maximum main memory to use for agp memory: 150M
agpgart: AGP aperture is 64M @ 0xf8000000

how to remove the application installed with "configure"?

Posted: 13 Apr 2005 09:40 AM PDT

Thanks all of u.

Mail Server / MX record

Posted: 12 Apr 2005 09:57 AM PDT

Richard Horton wrote: 

As long as the second machine is configured to forward to the
exchange machine, they can have the same priority and you'd get some
load balancing.

Better yet, pull the exchange box behind your firewall and let one or
more postfix (for example) machines front-end it; that way you can drop
most of your spam & garbage before it gets to exchange, plus you're not
hanging an MS 'hack me please' Exchange target directly out there. I
use a setup like this, with postfix + amavisd, and it cuts down a *LOT*
of traffic from ever getting to the exchange box.

The real crunch is going to come in if you really expect the Linux
host to be able to take over in case the exchange machine melts down. I
am not personally familiar with any open source exchange replacement
that can do this transparently (which is not to say there isn't one.) I
suppose the long hard ugly way would be to duplicate all your user
accounts on a Linux host with IMAP or POP or some such configured, and
then have all the users reconfigure their mail clients in case of
emergency. *YUK!*

Assuming you use Active Directory, a slightly less painful
alternative might be to set up a machine with winbind. You would still
have the mail client reconfig to contend with, but at least you wouldn't
have to futz with accounts and passwords...

If that all seems too complicated, there's another wonderful disaster
recovery technology you might want to look into, called 'backup
tapes'... *grin, wink!* :-)

Getting a CMI8738-based audio setup to work...

Posted: 11 Apr 2005 03:09 PM PDT

On Mon, 11 Apr 2005 22:09:42 +0000, Jules wrote:
 

Argh. User error on my part :-) When I got the machine the
on-board audio in the BIOS was disabled, so I'd enabled that.

Luckily after I had problems getting the audio to work
post-install, I went back to the BIOS to see if there were any
other audio-related settings that might be messing things up. And
I found that the audio hardware was *still* disabled! How that happened
I'm not sure - maybe I hit "exit discarding changes" instead of "exit
saving changes" by mistake...

Still, all working now!

cheers

Jules (slightly red-faced ;)