Linux-Misc Digest #152, Volume #26 Thu, 26 Oct 00 23:13:02 EDT
Contents:
Re: Installing Linux, Kernel Panic ("Brad K")
Re: Newbie: make install - suggest easy installation (Karsten Wutzke)
Re: CPU frequency into my program (Karsten Wutzke)
2 Linux version in 1 box? ([EMAIL PROTECTED])
Re: Athalon and Mandrake (Bill Piety)
Re: LinkSys betrayed us! Poor prospects for Linux. (Valentin Guillen)
Re: RedHat 7 and ABIT KT7-RAID ("MaxOCP")
Re: Microsoft Linux? ("Michael Westerman")
Re: 2 Linux version in 1 box? ("Michael Westerman")
Re: LinkSys betrayed us! Poor prospects for Linux. ("Michael Westerman")
Dos based xclient.. ("Michael Westerman")
Re: RedHat 7 and ABIT KT7-RAID (Rafael)
UATA Cable problem (Rafael)
Re: Signal definitions? ("Micer")
Re: LinkSys betrayed us! Poor prospects for Linux. (John Hasler)
Re: Copying an 7GB-partition to an 8GB-partition (Joshua Baker-LePain)
Installation Questions (Eugene Calderaro)
adding window manager kdm olvwm (defkon)
Re: Partition table problem (Jerry L Kreps,,,)
Re: CPU frequency into my program (Dances With Crows)
Re: gcc refuses cpp files; Library error ?? (Dances With Crows)
Re: Ghost Linux (Dances With Crows)
Re: LinkSys betrayed us! Poor prospects for Linux. (Jerry L Kreps,,,)
Re: Ghost Linux ("Les Mikesell")
Re: Ghost Linux (Vilmos Soti)
----------------------------------------------------------------------------
From: "Brad K" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: Installing Linux, Kernel Panic
Date: Thu, 26 Oct 2000 18:43:50 -0500
Yeah, compile kernel. Hmmm.... always scared me.
"Bill Hatter" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> I may be wrong but I believe that the problem stems from the mtrr settings
> as well. When you compile your kernel for Dual Processing, you need to
> ensure that the MTRR settings are the opposite of what you currently have.
> Try that and see if it works.
>
> Bill Hatter
>
> "Brad K" <[EMAIL PROTECTED]> wrote in message
> news:8t9gm4$[EMAIL PROTECTED]...
> > Hopefully someone can help me with this.
> >
> > I install Linux (Redhat, Mandrake, and Slackware) and everything goes
> fine.
> > Then when I
> > reboot, I get the error message.
> >
> > ...changing IO-APIC physical APIC ID to 16
> > Kernel panic: could not set ID
> > In swapper task - not syncing
> >
> > Then it just hangs. The system is a Dual PPro 150. When I boot to the
> boot
> > disk, it boots fine, albeit, not in SMP.
> >
> > Does anyone have any idea how to fix this?
> >
> > Thanks,
> > Brad K
> > www.photova.net
> >
> >
> >
> >
>
>
------------------------------
From: Karsten Wutzke <[EMAIL PROTECTED]>
Subject: Re: Newbie: make install - suggest easy installation
Date: Thu, 26 Oct 2000 17:28:16 +0200
Andreas K=E4h=E4ri wrote:
> =
> In article <[EMAIL PROTECTED]>, Karsten Wutzke wrote:
> >Hi all!
> >
> >I've written a Java application, it is for my software practicum, but =
I
> >hardly use Linux (blown installation).
> >
> >What's the "standard" way of installing software? I have to use "make
> >install", so what do I require the user to do before issuing "make
> >install"? Do I require the user to create the appropriate directory
> >structure (like appname/classes), do I require the user to pass in a
> >directory, or will I simply choose a default directory like
> >/usr/appname?
> >
> >Please suggest any easy installation types, especially those involving=
> >"make install".
> >
> >Thanks!
> >
> >Karsten
> =
> Usually people go with the package manager that is used in the
> distribution that they use. On Red Hat systems this meand "RPM" and on
> Debian systems it means the Debian package manager ("DPKG" I think
> it's called).
> =
> I can't speak for RPMs, but for building Debian packages you should
> read the Debian Packaging Manual at
> <URL:http://www.debian.org/doc/packaging-manuals/packaging.html/>.
> =
> To build GNU packages, read the GNU Coding Standards at
> <URL:http://www.gnu.org/prep/standards_toc.html>.
> =
OK. Thanks. But what's the "best"/easiest way to go with "make install"?
Karsten
------------------------------
From: Karsten Wutzke <[EMAIL PROTECTED]>
Subject: Re: CPU frequency into my program
Date: Thu, 26 Oct 2000 17:26:01 +0200
Andreas K=E4h=E4ri wrote:
> =
> In article <[EMAIL PROTECTED]>, Karsten Wutzke wrote:
> >Hi all!
> >
> >In the shell, when typing:
> >
> >"cat /proc/cpuinfo | grep MHz | cut -c 12-21"
> >
> >it will display the current processor frequency/ies. How do I get this=
> >value into my C program, e.g. as a float or double? I could redirect t=
he
> >output to a file, which is then opened, read and converted, but I'd li=
ke
> >to avoid file I/O if possible. I'm using system("blah").
> >
> >Any ideas?
> >
> >Karsten
> =
> The purpose of 'system' is not to deliver output from system commands.
> =
Which function call does deliver output from the command line? Can I use
one of Unix' built-in streams like stderr or stdaux(?) to retrieve the
output?
------------------------------
From: [EMAIL PROTECTED]
Subject: 2 Linux version in 1 box?
Date: Thu, 26 Oct 2000 23:58:21 GMT
Hi,
I would like to know if it is possible to have RH Linux 6.0 and 7.0
under the same box?
Sort of a dual boot between Linux and Windows.
Thanks for any advice.
Han Ming
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: [EMAIL PROTECTED] (Bill Piety)
Subject: Re: Athalon and Mandrake
Date: Fri, 27 Oct 2000 00:31:50 GMT
I'm running a thunderbird 900mhz now under Mandrake 7.1 & had 1
problem only during install - none after. Had to boot from the CD-rom,
not the floppy boot image. Otherwise, it's great.
On Mon, 23 Oct 2000 11:51:36 GMT, Martin Racette
<[EMAIL PROTECTED]> wrote:
>Hi guys,
>
>I would like to know if I could get an Athalon Thunderbird system runnin=
>g=20
>with Linux Mandrake 7.1, and what kind of very big bug I might run in to=
>
>
>Thank you in advance
>
>Merci a l'avance
>
>Martin
------------------------------
From: Valentin Guillen <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.networking
Subject: Re: LinkSys betrayed us! Poor prospects for Linux.
Date: Fri, 27 Oct 2000 00:38:35 GMT
Arctic,
Gee, why don't you just go over to an m$ newsgroup and post your reasons
for "defecting" over to that OS?
I'm sure many people who read this could/would post the info you may
need, but since there is no request here for info nor assistance, but
rather a pro-m$ diatribe, I suspect that most readers here will merely
ignore your whining, and skip on tothe next post.
------------------------------
Reply-To: "MaxOCP" <[EMAIL PROTECTED]>
From: "MaxOCP" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.setup
Subject: Re: RedHat 7 and ABIT KT7-RAID
Date: Fri, 27 Oct 2000 00:46:20 GMT
You want your boot partition within the first 1024 cyl I beleive... What
command line parameters did you use when you used "patch" to install the
HPT370 kernel patch? I installed the patch but am now swamped with compiler
errors... I figure I may have missed something in the patch installation.
Thanks!
"Alim" <[EMAIL PROTECTED]> wrote in message
news:8t6ef8$5s4$[EMAIL PROTECTED]...
> OK. I've been using RedHat since version 5.0 and have just bought a new
PC.
> Now Windows2K and 98SE as well as 95 are all cool with the hardware, but
> Linux has a few 'problems'. Here goes...
> My motherboard is an ABIT KT7-RAID and the HD is an IBM 75GXP 30Gb.
> Everything else installed fine before. I will try to remove the first
> partition on the disk and reinstall linux there, but don't know if it'll
> work...
>
> 1. It won't install directly to the HD on the HPT370. Obviously, so I
moved
> it to IDE1:master.
>
> 2. Linux installs on IDE1:master, but won't boot afterwards.
>
> The plan was to install on IDE1 then move disk back to RAID1 after
> recompiling with support for HPT370. I have 19Gb partitioned space with
> Win2k and 98, and wondered if linux requires boot sector below this space.
>
> Also, when recovery mode from boot Cd is run and i try to lilo the disk,
it
> says no access to /dev/hda is available. While it's still on IDE1!
>
> Answers appreciated.
> alim
>
>
>
------------------------------
From: "Michael Westerman" <[EMAIL PROTECTED]>
Subject: Re: Microsoft Linux?
Date: Fri, 27 Oct 2000 10:57:31 +1000
lucky you
i can't read some msoft formats with msoft soft ware. (really big word docs
with embeded pics. to many and it won't open. will save it though).
<[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> On Thu, 26 Oct 2000 19:00:06 GMT,
[EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> >On Thu, 26 Oct 2000 11:53:19 -0500, Leonard Evens <[EMAIL PROTECTED]>
wrote:
> >>I am not talking about file systems. In a Microsoft dominated world,
> >>you may have to access web sites designed to work well only with
> >>Microsoft products. You may have to read word processing documents
> >>readable only with Microsoft products.
> >
> >
> >BTW: I can read all microsoft formats just fine w/ any microsoft
software.
>
> aurgh: sub:w/:w/out
------------------------------
From: "Michael Westerman" <[EMAIL PROTECTED]>
Subject: Re: 2 Linux version in 1 box?
Date: Fri, 27 Oct 2000 11:24:31 +1000
yes install them in diffrent partitions.
put lilo on there own partitions as aposed to the MBR.
use a boot manager to switch (even lilo will do).
and put a other entrey to point to each partition.
------------------------------
From: "Michael Westerman" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.networking
Subject: Re: LinkSys betrayed us! Poor prospects for Linux.
Date: Fri, 27 Oct 2000 11:29:40 +1000
follow any one method.
purists prob follow source rpms or in kernal
me i install binarys. (pre compiled ready to run files.)
go with install individual drivers.
many drivers because...
1 for card
1 for what ever network type you want and so on.
you think windows installs just one driver . no
the model is layered osi or tcp.
so many drivers.
no driver does it all.
Arctic Storm <[EMAIL PROTECTED]> wrote in message
news:PO2K5.11479$[EMAIL PROTECTED]...
> LinkSys betrayed us!
> I bought a LinkSys LNE100TX ethernet card because it had the box label
> "Linux Tested".
> It came with a driver floppy disk, but it had no driver for Linux. The
> floppy disk had instructions for installing an old copy of tulip onto
RedHat
> 5.0, which used kernel 2.0; I have RedHat 7.0 w/ kernel 2.2.16. I have
one
> of the later versions of LinkSys LNE100TX, version 4.1, and this needs the
> latest tulip driver.
> LinkSys should have given us a working binary files with detailed
> step-by-step installation instructions. LinkSys wants us to *download*
the
> necessary files/drivers, but without the drivers, I can't get on the
> internet to download them. The old catch 22; without experience, can't
get
> a job, but without a job, can't get experience.
>
> I went to the tulip web site http://www.scyld.com/network/updates.html ,
but
> the instructions there were so poor and ambiguous that an average user
could
> never follow. The web site leaves you wondering if there are multiple
ways
> of installing the driver, or one way, but different steps.
> Do I do either "Using the Source RPM Package" or "Installing the
Individual
> Drivers", or do I do both? What does it mean to install "individual"
> drivers? I have *one* card, which needs *one* driver! What do you mean
by
> individual?!
> There's also the section, "Building updated drivers into the kernel". Do
I
> do this in addition to the above instrucitons, or is this something
> separate?!
> I went to the web site http://www.scyld.com/network/tulip.html , but this
> web site also has poor instructions, and refers you to somewhere else to
> learn how to install modules.
>
> Linux has a long way to go before it can become a common platform, if at
> all. Linux is for hobbiest who have time to tinker with their computers.
> There are no simple ways to click-and-drag to get things working.
> Everything is a struggle; you have to learn something new for every petty
> task. Imagine if you had to know how the car's engine transferred power
via
> the transmission system before you can drive your car,... Few of us know
> how a calculator works, and we take it for granted and use it as a
fuctional
> tool. That's what a computer should be; a functional tool to increase
> productivity. Too much time/effort is required to use Linux. However,
> Win2K is just as stable, but easy and user-friendly. How much is my time
> worth? How much is Win2K? Win2K starts to seem pretty attractive,...
>
> -----
>
>
------------------------------
From: "Michael Westerman" <[EMAIL PROTECTED]>
Subject: Dos based xclient..
Date: Fri, 27 Oct 2000 11:40:34 +1000
Does any one know where i should look to find a dos based xclient.
as i wish to use a old 386 with tcpip stack to work on a linux server box.
--
=====================================================
Michael Westerman - [EMAIL PROTECTED]
The University of Southern Queensland
The opinion expressed is that of the writer,
and not necessarily that of the University.
------------------------------
From: Rafael <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.setup
Subject: Re: RedHat 7 and ABIT KT7-RAID
Date: Thu, 26 Oct 2000 23:21:22 +0200
You can try to install minimum of distro suporting HPT370 like Gentus , later
write down from /var/log/messages parameters of ide2 or ide3, and then pass
them to the kernel during booting distro you want to install.
like this (example you have to have your value)
boot: linux ide2=0x8056, 0x8750
Rafael
Alim wrote:
> OK. I've been using RedHat since version 5.0 and have just bought a new PC.
> Now Windows2K and 98SE as well as 95 are all cool with the hardware, but
> Linux has a few 'problems'. Here goes...
> My motherboard is an ABIT KT7-RAID and the HD is an IBM 75GXP 30Gb.
> Everything else installed fine before. I will try to remove the first
> partition on the disk and reinstall linux there, but don't know if it'll
> work...
>
> 1. It won't install directly to the HD on the HPT370. Obviously, so I moved
> it to IDE1:master.
>
> 2. Linux installs on IDE1:master, but won't boot afterwards.
>
> The plan was to install on IDE1 then move disk back to RAID1 after
> recompiling with support for HPT370. I have 19Gb partitioned space with
> Win2k and 98, and wondered if linux requires boot sector below this space.
>
> Also, when recovery mode from boot Cd is run and i try to lilo the disk, it
> says no access to /dev/hda is available. While it's still on IDE1!
>
> Answers appreciated.
> alim
------------------------------
From: Rafael <[EMAIL PROTECTED]>
Subject: UATA Cable problem
Date: Thu, 26 Oct 2000 22:17:34 +0200
When I switching to 80-conductor UATA Interface Cable (Ultra ATA66 and
ATA100) I am getting problems. From the beggining I thought that it is
problem with kernel, therefore I changed to patched kernel which support
UATA 66. I have IBM UATA 100 and 66 hard disks. I chcecked everything on
both of them to eliminate Hard Disk problem.
I can not use DMA with 80 conductor cable I getting such errors:
"hda_intr: status=0x51 { driveready seekcomplete Error}
hda_intr: error=0x84 { drivestatus error Bad CRC}
...
....
hda: DMA disabled
ide0: reset: success"
Thus I am forced to use 40 conductor cable with my UATA 100 and 66 hard
drive on mainboard supporting UATA 66. All this couse that the speed of
my drive is like normal UATA 33, thus I lost money buying big fast
harddrives.
Can anybody tell me where the problem is??????
Rafael
------------------------------
From: "Micer" <[EMAIL PROTECTED]>
Subject: Re: Signal definitions?
Date: Thu, 26 Oct 2000 18:49:54 -0700
This is great! I didn't know about makewhatis. Now my Linux is behaving more
like the OSF/1 boxes that I am used to..
Micer.
"Eric" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Micer wrote:
> >
> > >[Please remember to snip unneeded quoted material.]
> > >
> > >In practice, first you'd run "man -k signal" to see which sections
contain
> > >a "signal" entry.
> > >
> > >There's some convention for the sections: #1 is for user commands, #8
is
> > >for system-administration commands, #2 and #3 are for programming, #5
seems
> > >to contain file formats, #6 is for games ... (but I don't remember
where
> > >this is documented).
> > >
> > >--
> > >Paul Kimoto
> >
> > But when I do a "man -k signal" I get the message "signal: nothing
> > appropriate".
> >
> > Micer.
>
> run makewhatis first to create the apropos database
> You should always notice the links to other manpages: man man has a
> pointer to man apropos, which has an entry to man makewhatis (man man
> also contained that pointer)
>
> Eric
------------------------------
From: John Hasler <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.networking
Subject: Re: LinkSys betrayed us! Poor prospects for Linux.
Date: Fri, 27 Oct 2000 00:49:23 GMT
Arctic Storm writes:
> Win2K is just as stable, but easy and user-friendly.
A friend of mine (a quite experienced Windows user) just installed Win2K.
If his experience is any guide, you'll never get it to work.
Buy a machine with Linux pre-installed, like you did your Windows box.
--
John Hasler
[EMAIL PROTECTED]
Dancing Horse Hill
Elmwood, Wisconsin
------------------------------
From: Joshua Baker-LePain <[EMAIL PROTECTED]>
Subject: Re: Copying an 7GB-partition to an 8GB-partition
Date: 27 Oct 2000 02:15:13 GMT
Mark Post <[EMAIL PROTECTED]> wrote:
> On 26 Oct 2000 08:09:59 +0200, Peter Mutsaers <[EMAIL PROTECTED]> wrote:
> -snip-
>>-a is a GNU, non-stdandard UNIX, extention. So, no wonder you didn't
>>know about it. It's one of the little irritating differences. When
>>Linux people get used to such things, and they move to another UNIX
>>once, they are confused not having such incompatable extentions.
>>Often they'd yell immediately that "LINUX is superior" and the others
>>are "LAME", just because they don't know the "real UNIX way" (which is
>>dump/restore, of course).
> Gee, thanks for posting that nice slap in the face on a linux newsgroup. If
> the "real UNIX way" (whatever that is, since there is not just one UNIX) is
> to ignore better tools that come from somewhere else, I guess I'll stick
> with my philosophy of taking the best of whatever I can get, from where ever
> I can (legally) get it.
Whoa, calm down. Note that he put "real UNIX way" in quotes. All I
read into his post is that the GNU tools contain many extensions not
found in vendor tools (which is true) and that some would use this to
claim Linux is superior (which does *not* follow, since the GNU tools
are, by design, portable).
--
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University
------------------------------
From: [EMAIL PROTECTED] (Eugene Calderaro)
Subject: Installation Questions
Date: 27 Oct 2000 02:20:13 GMT
I have Windows 95 on my PC and would like to know how to set up Linux w/o
using System Commander
------------------------------
From: defkon <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux,uk.comp.os.linux
Subject: adding window manager kdm olvwm
Date: Fri, 27 Oct 2000 02:23:49 GMT
Hi,
I have just installed the "olvwm" window manager in Mandrake 7.1. How
can I add it to the graphic login manager (kdm)?
I have tried to do it via the KDE control panel but without success. The
installation has put the file "olvwm" in /usr/local/openwin/bin/olvwm.
I boot the computer in the runlevel 5.
Any help won't hurt!
Thanks a lot.
------------------------------
From: Jerry L Kreps,,, <[EMAIL PROTECTED]>
Subject: Re: Partition table problem
Date: Thu, 26 Oct 2000 21:28:33 -0500
Reply-To: [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
> Well...
>
> So I decide to install Caldera OpenLinux. I find 2.3 at the store, buy
> it, install, have a few glitches at first with LILO and my video card,
> but get it working correctly eventually as a dual-boot with Windows
> 98. Then I install Microsoft Office 97. Big mistake. Computer
> crashes next time I boot. NDD reports invalid partition table.
> Windows works fine. Try to boot Linux. Nothing doing -- can't find
> root partition. fdisk won't correct it, and I cannot easily back up my
> hard drive, because the only writable removable media I have are 3.5"
> floppy disks. Is there any help to be found in comp.os.linux.misc?
>
> ------------> Drake Wilson
>
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
And there was really no reason for that crash (why would an office suite be
interested in the Master Boot Record?) except that Bill wants to play "Dr
Dos" games with Linux.
If you have a bootable Linux floppy (there should have been one in the
Caldera box) then you can boot it and access your system that way. Then
rerun LILO.
------------------------------
From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: CPU frequency into my program
Date: 27 Oct 2000 02:29:37 GMT
Reply-To: [EMAIL PROTECTED]
On Thu, 26 Oct 2000 17:26:01 +0200, Karsten Wutzke wrote:
>Which function call does deliver output from the command line? Can I use
>one of Unix' built-in streams like stderr or stdaux(?) to retrieve the
>output?
?? For reading /proc/cpuinfo, what's wrong with doing
FILE *ifp;
char line[256];
ifp=fopen("/proc/cpuinfo","r");
while(fgets(line,255,ifp)!=EOF){
/* parse each line using fscanf() or something, put bogomips or
* cpu MHz into an int */
}
You say you want to avoid file I/O, but forking a shell (which is what
system() and popen() do) would be far more expensive in terms of CPU
time/disk I/O than simply reading the file.
I also suggest reading a good book on C, C++, or Perl. It should cover
topics like this. "man $FUNCTION" is also a decent reference on the
behavior of $FUNCTION in a Unix environment. It's a bit technical, but
it's very handy.
--
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin / Workin' in a code mine, hittin' Ctrl-Alt
http://www.brainbench.com / Workin' in a code mine, whoops!
=============================/ I hit a seg fault....
------------------------------
From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: gcc refuses cpp files; Library error ??
Date: 27 Oct 2000 02:29:38 GMT
Reply-To: [EMAIL PROTECTED]
On Thu, 26 Oct 2000 20:28:25 +0200, Christian Schubert wrote:
>The compiler accepts files with a .c suffix e.g. hello.c but then
>interprets them as C-code.
Ayup, that's generally what the .c suffix stands for.
>What do I do wrong ? Is there some confusion in the C-Libraries ? I did
>already changes from egcs to gcc and vice versa. Nothing helps. Didn't
>expect to have such difficulties.
Try "g++". It's the same compiler, but it looks for #includes in the
c++ directories, and links against the libstdc++ as well as libc. This
tends to bite people who aren't expecting it, but it's very similar on
Solaris (CC vs. cc) and I thought it was covered in a FAQ somewhere.
Sorry if conventions caused confusion....
--
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin / Workin' in a code mine, hittin' Ctrl-Alt
http://www.brainbench.com / Workin' in a code mine, whoops!
=============================/ I hit a seg fault....
------------------------------
From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: Ghost Linux
Date: 27 Oct 2000 02:29:39 GMT
Reply-To: [EMAIL PROTECTED]
On Thu, 26 Oct 2000 22:15:29 GMT, [EMAIL PROTECTED] wrote:
>Does anyone know of a program that will ghost Linux in the same way as
>Norton Ghost works in Windows?
cpio? afio? tar? These are archiving programs, and work at the
filesystem level (meaning they're not *quite* like Ghost, but they're
still excellent for backing up data.)
If you want to make an "image backup" then you use dd. dd works at the
raw device level, making a sector-by-sector copy of a disk. You can
make an exact copy of a hard disk by doing:
dd if=/dev/hda of=somewhere bs=8192
which copies *everything* on the hard disk at /dev/hda to "somewhere".
"somewhere" can be on a remote server, naturally. You should bzip2 it
once it's there, to reduce time taken by the next step.
You can re-create the original image on /dev/hda by booting from a Linux
floppy that has enough smarts to mount the remote server via NFS or
Samba and also has bunzip2 and dd. This Linux boot floppy would do
something very similar to:
mount -t smb //remoteserver/images /mnt
dd if=/mnt/linuxhdaimage.bz2 | bunzip2 -dc | dd of=/dev/hda
There's *got* to be a better way to do that, though. "rsync" would not
chew up nearly so much network bandwidth, but it might have problems
with things that require absolute positioning on disk like the MBR, the
kernel image, and the loading map. I suppose you could combine the
approaches, using dd to recover the MBR and /boot, then using rsync to
fix everything else. This would require a separate /boot partition,
naturally, but most people have that.
Please note that I have never tried the more complex versions of this.
I did use dd and a bootdisk to back up and restore my entire laptop once,
but that was it. Take with several grains of salt....
--
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin / Workin' in a code mine, hittin' Ctrl-Alt
http://www.brainbench.com / Workin' in a code mine, whoops!
=============================/ I hit a seg fault....
------------------------------
From: Jerry L Kreps,,, <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.networking
Subject: Re: LinkSys betrayed us! Poor prospects for Linux.
Date: Thu, 26 Oct 2000 21:30:28 -0500
Reply-To: [EMAIL PROTECTED]
Troll
Arctic Storm wrote:
> LinkSys betrayed us!
> I bought a LinkSys LNE100TX ethernet card because it had the box label
> "Linux Tested".
> It came with a driver floppy disk, but it had no driver for Linux. The
> floppy disk had instructions for installing an old copy of tulip onto
> RedHat
> 5.0, which used kernel 2.0; I have RedHat 7.0 w/ kernel 2.2.16. I have
> one of the later versions of LinkSys LNE100TX, version 4.1, and this needs
> the latest tulip driver.
> LinkSys should have given us a working binary files with detailed
> step-by-step installation instructions. LinkSys wants us to *download*
> the necessary files/drivers, but without the drivers, I can't get on the
> internet to download them. The old catch 22; without experience, can't
> get a job, but without a job, can't get experience.
>
> I went to the tulip web site http://www.scyld.com/network/updates.html ,
> but the instructions there were so poor and ambiguous that an average user
> could
> never follow. The web site leaves you wondering if there are multiple
> ways of installing the driver, or one way, but different steps.
> Do I do either "Using the Source RPM Package" or "Installing the
> Individual
> Drivers", or do I do both? What does it mean to install "individual"
> drivers? I have *one* card, which needs *one* driver! What do you mean
> by individual?!
> There's also the section, "Building updated drivers into the kernel". Do
> I do this in addition to the above instrucitons, or is this something
> separate?!
> I went to the web site http://www.scyld.com/network/tulip.html , but this
> web site also has poor instructions, and refers you to somewhere else to
> learn how to install modules.
>
> Linux has a long way to go before it can become a common platform, if at
> all. Linux is for hobbiest who have time to tinker with their computers.
> There are no simple ways to click-and-drag to get things working.
> Everything is a struggle; you have to learn something new for every petty
> task. Imagine if you had to know how the car's engine transferred power
> via
> the transmission system before you can drive your car,... Few of us know
> how a calculator works, and we take it for granted and use it as a
> fuctional
> tool. That's what a computer should be; a functional tool to increase
> productivity. Too much time/effort is required to use Linux. However,
> Win2K is just as stable, but easy and user-friendly. How much is my time
> worth? How much is Win2K? Win2K starts to seem pretty attractive,...
>
> -----
>
>
------------------------------
From: "Les Mikesell" <[EMAIL PROTECTED]>
Subject: Re: Ghost Linux
Date: Fri, 27 Oct 2000 02:31:03 GMT
<[EMAIL PROTECTED]> wrote in message news:8taads$8ga$[EMAIL PROTECTED]...
> Does anyone know of a program that will ghost Linux in the same way as
> Norton Ghost works in Windows?
Ghost does several different things, most of which can be done on
linux with the general purpose tools. For example dd can copy
a raw device image to a file and vice versa and you can do it
over the network using rsh. Or you can use tar or dump/restore
if you want to copy to different sized partitions.
Les Mikesell
[EMAIL PROTECTED]
------------------------------
Subject: Re: Ghost Linux
From: Vilmos Soti <[EMAIL PROTECTED]>
Date: Fri, 27 Oct 2000 02:33:13 GMT
[EMAIL PROTECTED] writes:
> Does anyone know of a program that will ghost Linux in the same way as
> Norton Ghost works in Windows?
dd
Vilmos
------------------------------
** FOR YOUR REFERENCE **
The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:
Internet: [EMAIL PROTECTED]
You can send mail to the entire list (and comp.os.linux.misc) via:
Internet: [EMAIL PROTECTED]
Linux may be obtained via one of these FTP sites:
ftp.funet.fi pub/Linux
tsx-11.mit.edu pub/linux
sunsite.unc.edu pub/Linux
End of Linux-Misc Digest
******************************