LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 09-20-2015, 10:44 PM   #1
Harshit_24
Member
 
Registered: Jul 2014
Location: India
Distribution: CentOS
Posts: 75

Rep: Reputation: 5
How to prevent OS to ask for CD


I have Linux OS divided into CDs. One part contains the main OS & other parts contains the basic softwares to be installed on Linux. Now I made a bootable USB of the main OS CD & also put all the basic software's rpm packages of the second CD to the USB. While installing the OS I was expecting now it would not ask for the CD instead it would get all the softwares from the USB itself, but now also it needs CD, else it gives error

Code:
kernel panic attempted to kill init
Here is the cdlilo.conf files data.

Code:
append = "hdc=scsi init=/linuxrc console=tty3"
boot=/dev/fd0
install=/boot/boot.b
map=/boot/map
read-write
backup = /dev/null
message=message
prompt
timeout=200
#compact

ramdisk=32000

image= KERNEL
	label=linux
	initrd=initrd.gz
	root=/dev/rd/0
How can I tell OS to search all those rpm packages to search in the USB itself rather than asking for CD ?

Thanks

Last edited by Harshit_24; 09-20-2015 at 10:57 PM.
 
Old 09-21-2015, 01:08 AM   #2
DaneM
Member
 
Registered: Oct 2003
Location: Chico, CA, USA
Distribution: Linux Mint
Posts: 881

Rep: Reputation: 130Reputation: 130
I'll need some more information. First, which version of Linux are you using? I notice that it comes with the LILO boot loader, which is quite old. So, one possibility is that it's simply too old to be bootable from a USB drive. If you have a computer made within the last 10 years, I suggest trying Linux Mint 17.2 with MATE or the latest LTS version of Ubuntu. If your computer is fairly fast, you should first try the 64-bit version, but if in doubt, use the 32-bit version.

Here are some links to a download page where you can find DVD images. I suspect you'll have better luck installing these from a USB than the version you're currently using.

Linux Mint:
http://www.linuxmint.com/download.php

Ubuntu:
http://www.ubuntu.com/download/desktop
 
1 members found this post helpful.
Old 09-21-2015, 02:04 AM   #3
Harshit_24
Member
 
Registered: Jul 2014
Location: India
Distribution: CentOS
Posts: 75

Original Poster
Rep: Reputation: 5
I am currently using Siemens Industrial Linux 2.4.36. It is of year 2000. I am using this because I have the old hardware & a particular old software. Hardware can be upgraded, but not that particular software. I don't know if that particular machine software will work on new Linux or not, so I am trying it in old Linux.
 
Old 09-21-2015, 02:34 AM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
it is a 15 year old OS
that would explain the "fd0" you posted
" /dev/fd0"
a 1.4 meg 3.5 in "floppy" or the older 5 in. floppy in the paper sleeve
are you using a FLOPPY boot disk ???????




forget using a usb thumb drive

that os is using the very old 2.4 kernel has no idea what a usb2 or 3 is
But the "Linux 2.4.36" ( update 36 ) kernel was released in 2008

dose this machine have a cd drive ?

make a install cd
 
1 members found this post helpful.
Old 09-21-2015, 03:11 AM   #5
DaneM
Member
 
Registered: Oct 2003
Location: Chico, CA, USA
Distribution: Linux Mint
Posts: 881

Rep: Reputation: 130Reputation: 130
John VV is absolutely right: your current Linux distribution doesn't know what USB is. The only way to install it is probably with the media that it came on.

Let's take a different approach. Linux is amazingly backwards compatible, in terms of hardware. Software is a somewhat different matter, but if you tell us which software you need to use, we might be able to help you either make that work on a modern distro or get a compatible and more modern piece of software that will do the same job. Otherwise, we can try to make it work via a CD installation (assuming you have a CD drive in that computer) or *shudder* floppies.

So, what is this software you wish to use? Name and function?

Edit: I just realized that 2.4.36 is actually one of the later 2.4 series kernels. Are you sure it's from 2000, and not a little later? It occurs to me that 2.4.36 did understand USB, but LILO boot loader did not. So, it might be possible to load a version of Linux with the 2.4 kernel and a similar set of packages, but with GRUB instead of LILO. This should cause your software to work just fine, without requiring you to load it from a CD.

Last edited by DaneM; 09-21-2015 at 03:17 AM. Reason: Had an epiphany.
 
1 members found this post helpful.
Old 09-21-2015, 03:44 AM   #6
DaneM
Member
 
Registered: Oct 2003
Location: Chico, CA, USA
Distribution: Linux Mint
Posts: 881

Rep: Reputation: 130Reputation: 130
I just did some digging, and your version of Linux is based on Red Hat Linux 9, which shipped with the 2.4.20 kernel and GRUB, as well as LILO. You might be able to download RH9, put it onto a USB drive, install it, and then install the RPMs from your Siemens CDs. It would be a messy solution, and you might run into unfixable dependency problems, but it's probably worth a shot, if all else fails.
 
1 members found this post helpful.
Old 09-21-2015, 07:01 AM   #7
Harshit_24
Member
 
Registered: Jul 2014
Location: India
Distribution: CentOS
Posts: 75

Original Poster
Rep: Reputation: 5
@John VV, yes currently I boot it using floppy disk. I have successfully booted it using USB but there is other problem as I mentioned above.

@DaneM, I could switch to a new version of Linux like CentOS but the specific software must run on CentOS. The software name is PECOM which is specially design for a machine to run. If this software runs on CENTOS like system, then I could switch.
 
Old 09-22-2015, 03:13 AM   #8
DaneM
Member
 
Registered: Oct 2003
Location: Chico, CA, USA
Distribution: Linux Mint
Posts: 881

Rep: Reputation: 130Reputation: 130
Ah, that makes things easier. Here are the system requirements for a modern version of CentOS.
https://www.centos.org/docs/5/html/C...uirements.html
See also:
https://wiki.centos.org/About/Product

Does your machine meet these requirements? If so, download the latest stable version, put it onto a USB drive, and away you go! :-)
 
1 members found this post helpful.
Old 09-22-2015, 06:18 AM   #9
Harshit_24
Member
 
Registered: Jul 2014
Location: India
Distribution: CentOS
Posts: 75

Original Poster
Rep: Reputation: 5
Quote:
Originally Posted by DaneM View Post
Ah, that makes things easier. Here are the system requirements for a modern version of CentOS.
https://www.centos.org/docs/5/html/C...uirements.html
See also:
https://wiki.centos.org/About/Product

Does your machine meet these requirements? If so, download the latest stable version, put it onto a USB drive, and away you go! :-)
I have tried to run CENTOS 7 on that hardware but it gave error while booting. Hardware limitations are
- Adapter SCSI I20
- Ethernet Card(3COM)
- Arcnet Card(3COM)

Although I can shift to the latest hardware but as I told that the machine specific software I mentioned above should run on latest CENTOS 7 since that specific software was too old, so I doubt it would run on latest CENTOS. Is it possible or is there any compatibility issue occur ?

If not, what can we do older OS for bootable USB ?
 
Old 09-22-2015, 03:57 PM   #10
DaneM
Member
 
Registered: Oct 2003
Location: Chico, CA, USA
Distribution: Linux Mint
Posts: 881

Rep: Reputation: 130Reputation: 130
Give CentOS 6 a shot. CentOS 7 requires 64-bit CPU, which I'm guessing your setup doesn't have.

Can you post the following?

-CPU type (32- or 64-bit?)
-Amount of RAM
-Size of hard drive
 
1 members found this post helpful.
Old 09-22-2015, 06:01 PM   #11
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,749

Rep: Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928
I might try Debian 8 first. It looks like the common 3com and arcnet modules are already compiled and I think so is the SCSI card but not so with CentOS. If the hardware is recognized then it should work vs having to learn how to compile kernel/modules with CentOS.

However, I have doubts about the PECOM software working with a version 2.6 or 3 kernel. There might be a configuration file somewhere in /etc where you can change the path from the floppy to the USB drive. Which might be a workaround for your problem.
 
1 members found this post helpful.
Old 09-22-2015, 08:59 PM   #12
DaneM
Member
 
Registered: Oct 2003
Location: Chico, CA, USA
Distribution: Linux Mint
Posts: 881

Rep: Reputation: 130Reputation: 130
I would expect most hardware to work with a modern Linux distribution, but I'm concerned about getting PECOM to work on a non-RPM system, since it was originally distributed in a Red Hat derivative. Give CentOS 6 a shot, and if that doesn't work, I would recommend trying other RPM-based distributions.
 
1 members found this post helpful.
Old 09-23-2015, 08:11 AM   #13
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,749

Rep: Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928
True, if PECOM is installed via an RPM then CentOS would be best but depending on what dependencies are required it might fail to install. If it does not install then I do not see how trying other current RPM based distributions would fare any better.

We do not have enough information about the system. There are lots of industrial equipment (and I work with some) that runs on legacy operating systems where upgrading is not possible.
 
  


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
how to prevent ^C echo Skaperen Linux - General 9 12-01-2011 07:47 PM
How to prevent ftp from 1 IP zergling Linux - Networking 5 12-01-2009 01:55 PM
How to prevent the bogons? basbosco Linux - Security 1 03-01-2004 02:22 PM
iptables prevent some allow some john8675309 Linux - Software 6 02-02-2004 10:38 AM
prevent an IP to get out? jimval7 Linux - Security 16 05-09-2003 09:58 AM

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

All times are GMT -5. The time now is 06:39 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