Linux-Setup Digest #114, Volume #20 Mon, 27 Nov 00 06:13:09 EST
Contents:
Re: linux kernel at end of large hard disk--dual boot question (Eric)
Re: Remove LILO (Franz Brummer)
Re: HELP! Change partition table (Eric)
Re: Newbie question on lilo (Eric)
Re: Partition Tables (Eric)
Re: HELP! Change partition table (Franz Brummer)
Re: Deeper Secrets Part 2 (Eric)
Re: Problems booting RH7 after install (Eric)
Re: Hardware openions, and or comments ("William Fong")
Re: Best OS for 486/33 SX w/ 32meg ram? (Oliver D. Bedford)
Installing to remote Linux boxes ("Jon Pomeroy")
Re: Promiscuous Mode??? (Oliver D. Bedford)
Benefits of GRUB? (Oliver D. Bedford)
Re: chmod within a skript (Villy Kruse)
Re: Remove LILO ("Daniel Pettersson")
Re: Newbie question on lilo (Tom Pfeifer)
Re: Remove LILO ("Martin Schmidt")
Re: HELP! Change partition table (Eric)
Re: Newbie question on lilo (Eric)
Re: chmod within a skript (Eric)
----------------------------------------------------------------------------
From: Eric <[EMAIL PROTECTED]>
Subject: Re: linux kernel at end of large hard disk--dual boot question
Date: Mon, 27 Nov 2000 09:01:40 +0100
Reply-To: [EMAIL PROTECTED]
GH wrote:
>
> I have tried a similar config (multiboot & 20GB).
> The only config that was working were having a 10 MB partition mounted as
> /boot (the place where the kernel loads from) under the 8GB limit AND under
> the 1024 cyl. limit.
Only the latter limit is important
> The total partition had to be under both these limits. The distrib was a RH6.1
>
> I didn't have any experience with the new version of lilo.
>
> Linux isn't the only o.s. who have booting problem over the 8 GB limit. Win &
> Netware too.
That's because it has nothing to do with LILO (or any other bootloader
for that matter)
It's a limit originating from your BIOS
> You might try to move your winme partition a bit (try partition magic, latest
> version), then create a 10 or 16 MB partition for /boot and maybe a swap (run
> faster on the begining of disk). install lilo on the /boot partition rather
> than on MBR (win would break it).
>
Wether you can boot from beyond cyl. 1024 is forced upon you by your
BIOS. If it understands the extended int13 calls it can, if not, now way
you can ever boot from beyond that limit. The newer LILO's can use these
calls, but if your BIOS doesn't understand them, well, too bad (use
loadlin, or create a /boot below cyl 1024)
Eric
------------------------------
From: Franz Brummer <[EMAIL PROTECTED]>
Subject: Re: Remove LILO
Date: Mon, 27 Nov 2000 09:01:05 +0100
Reply-To: [EMAIL PROTECTED]
Daniel Pettersson wrote:
> Hi,
>
> I run RedHat and win2000 and I want to remove LILO from the master boot
> record in the win2000 partition - but how do you do?
>
> thanx,
> Daniel
>
>
>
In the DOS box on windows type:
fdisk /mbr
This will restore the windows boot sector.
greets
------------------------------
From: Eric <[EMAIL PROTECTED]>
Subject: Re: HELP! Change partition table
Date: Mon, 27 Nov 2000 09:13:24 +0100
Reply-To: [EMAIL PROTECTED]
Franz Brummer wrote:
>
> Hi!
> (Please excuse my English - it's not my native tongue...)
It's not mine either, so I will not complain ;-)
> After compiling and installing lots and lots of software on my box I found out, that
>there's something wrong with my partition table. I think that's a potential risk of
>loosing all my data.
>
> Here's the output of fdisk -l :
>
> 08:41:46:root>fdisk -l
>
> Disk /dev/hda: 255 heads, 63 sectors, 1650 cylinders
> Units = cylinders of 16065 * 512 bytes
>
> Device Boot Start End Blocks Id System
> /dev/hda1 1 1 4504+ 83 Linux
> Partition 1 does not end on cylinder boundary:
> phys=(9, 0, 1) should be (9, 254, 63)
> /dev/hda2 1 638 5120136 83 Linux
> Partition 2 does not end on cylinder boundary:
> phys=(1023, 255, 63) should be (1023, 254, 63)
> /dev/hda3 * 638 893 2048256 83 Linux
> Partition 3 does not end on cylinder boundary:
> phys=(1023, 255, 63) should be (1023, 254, 63)
> /dev/hda4 893 1651 6087312 5 Extended
> Partition 4 does not end on cylinder boundary:
> phys=(1023, 255, 63) should be (1023, 254, 63)
> /dev/hda5 893 1276 3072352+ 83 Linux
> /dev/hda6 1276 1292 131512 82 Linux swap
> /dev/hda7 1292 1651 2883352 83 Linux
>
> Disk /dev/hdb: 32 heads, 63 sectors, 1050 cylinders
> Units = cylinders of 2016 * 512 bytes
>
> Device Boot Start End Blocks Id System
> /dev/hdb1 * 1 1024 1032160+ 6 FAT16
Unless you use another OS on these discs I don't think there's a big
problem, but using windows/DOS with this table will be a good way to
destroy data (make hda4 type 0x85, it isn't a correct ID now (0x05),
although it won't hurt with linux either)
Change hdb1's partition ID too, to 0x0e (I'm not sure if it's needed (is
the limit 1023 or 1024?), but it's a safe solution anyway.
If you really don't like it, try parted, from GNU, maybe you can resize
the partitions, so fdisk won't complain anymore. (PartitionMagic can NOT
help you here)
But if you resize, be carefull not to overwrite a neighbouring partition
Eric
------------------------------
From: Eric <[EMAIL PROTECTED]>
Subject: Re: Newbie question on lilo
Date: Mon, 27 Nov 2000 09:19:01 +0100
Reply-To: [EMAIL PROTECTED]
Tom Pfeifer wrote:
>
> The file /etc/lilo.conf is the configuration file for Lilo. To use the
> lba32 keyword, you simply insert it in /etc/lilo.conf. For example,
> here's the beginning of mine:
>
> boot=/dev/hdc3
This line will make sure LILO is NOT in the MBR.
That way the lba32 line will be pretty ineffective :-)
Should be:
boot=/dev/hda -------> I assume you're on hda instead of hdc!
Eric
> root=/dev/hdc3
> lba32
> install=/boot/boot.b
> ......
>
> When you do this manually, the command 'lilo' has to be run as root for
> any change to /etc/lilo.conf to take effect. I'm not familiar with the
> specifics of how the SUSE installation handles Lilo, so that's about as
> far as I can take it.
>
> Tom
>
> Olaf Seegers wrote:
> >
> > Hi,
> >
> > I'm struggeling with my suse7.0 installation. I installed it on a 30GB Disk
> > in a partition that it completely
> > above the 1024 cylinder. I downloaded lilo21.6 and installed it. Now I like
> > to install lilo in the mbr but I
> > allways get the error message that I should use the lba32 keyword. How? I
> > read the manpages but I only found that this option exist but not how to use
> > it. At the moment I only can start linux with the installtion CD, what
> > is not what I want.
> > Anyone who can help me?
> >
> > Thanks in advance,
> >
> > Olaf
------------------------------
From: Eric <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc,comp.os.linux.hardware
Subject: Re: Partition Tables
Date: Mon, 27 Nov 2000 09:22:34 +0100
Reply-To: [EMAIL PROTECTED]
Stu wrote:
>
> Hi. I have just upgraded my computer to a new motherboard, cpu memory - i.e.
> quite a substantial change to my system. However, I am using my existing
> harddrives.
>
> Not surprisingly, it no longer boots in linux successfully. This is okay, I
> am quite happy to reinstall my RH6.2. However, there is some data I would
> like to get hold of before I do so.
> I am trying to use PICOBOOT to access my filesystem but whenever I try and
> mount a partition I get an error. This is strange because previously I have
> managed to mount these partitions easily using the mount command supplied
> with PICOBOOT. When I do fdisk the partition tables are displayed correctly.
> I suspect that because of my new motherboard the harddrives are being set up
> slightly differently from before during the autodetection, but unfortunely I
> have no record of how they were previously set up. I've tried changing my
> BIOS to use different configurations, e.g. LBA,LARGE,Match Partition Table,
> etc, but with no success.
>
> Does anybody more experienced than me have any ideas how I can get to my old
> filesystem ?
> Have I missed anything obvious ?
I don't know PICOBOOT, but I guess it's a linux-on-floopy distro
supply the C/H/S parameters of the HDD when booting, to force the use of
teh corrcet parameters.
I cannot be sure if this will solve anything, but that's your own fault,
telling us that some command "gives errors" isn't much to work with.
Eric
------------------------------
From: Franz Brummer <[EMAIL PROTECTED]>
Subject: Re: HELP! Change partition table
Date: Mon, 27 Nov 2000 09:23:13 +0100
Reply-To: [EMAIL PROTECTED]
Hi Eric!
thx for your reply. You've made it much easier for me to sleep at night now...;)
But still one problem remains, which I think this is not the right newsgroup for:
I'm trying to install AtheOS (a new alternative OS - see http://www.atheos.cx) on hda3
but it doesn't recognize hda at all only hdb :(
Just thought that the strange partition table on hda might be a reason for that.
But maybe not. I will have to join the mailing list for AtheOS anyway...
greets
------------------------------
From: Eric <[EMAIL PROTECTED]>
Subject: Re: Deeper Secrets Part 2
Date: Mon, 27 Nov 2000 09:29:25 +0100
Reply-To: [EMAIL PROTECTED]
philo wrote:
>
> wow now i'm even more puzzled. (i'm dual booting win98 and mandrake 7)
> i had been trying to set up either grub or the new lilo so i would now
> have to rely on a boot
> floppy.
>
> i received an excellent suggestion to try loadlin
>
> and it worked beautifully...even for a newcommer like me.
>
> but here is the really odd thing:
>
> when i boot to linux using loadlin...
> my ppp dial-up *does not* work...it just hangs
>
> but when i go back and boot to linux from the boot disk ...all workes
> fine.
> how can this be???
> i tried both ways several times...
> plus i did a uname -r first to make sure i did infact copy the correct
> image onto my windows partition.
>
> plus: i created a linux directory on my windows drive C: to put the
> image file
>
> i cannot see it in the gnome file manager (yes i know it's a bit buggy
> and the directories
> have to be shutdown ,then opened)
> but it is there (as expected) in mc...
>
> i'll tell you...this is sure one heck of an odd-ball learning experience
> for me.
>
> so who would like to help me solve this challenge..?.
I would *like* to, but I'm not sure if I can.
When you use loadlin (glad it worked out for you) you were in windows
previously. Windows set's up the modem for you, using it's settings. Now
when you boot linux, these settings aren't restored to the default
values. Try hard/soft resetting your modem. I don't know much about
this, I've a winmodem :-( (That means no modem, just heavy CPU load)
Eric
------------------------------
From: Eric <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc
Subject: Re: Problems booting RH7 after install
Date: Mon, 27 Nov 2000 09:35:17 +0100
Reply-To: [EMAIL PROTECTED]
Cheryl Freeman wrote:
>
> I just upgraded to RH7 from RH6.0. The install went clean but the system
> will not boot from floppy or disk.
>
I've seen more messages like this, appearantly the LILO suplied with
RH7.0 is broken
(Yes it works on some systems, I know, but it may be a specific setup or
something)
Try using a bootfloppy from RH6.x, update LILO and rerun `/sbin/lilo`
Eric
------------------------------
From: "William Fong" <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.linux.hardawe,comp.sys.ibm.hardware,comp.sys.ibm.pc.hardware,comp.sys.ibm.pc.hardware.misc,comp.sys.ibm.pc-hardware,comp.sys.ibm-pc.hardware,comp.sys.pc.hardware
Subject: Re: Hardware openions, and or comments
Date: Mon, 27 Nov 2000 08:50:09 GMT
I'd stay away from the RAID setup. It's not a 'true' RAID. Do you really
need it? You only listed one hard drive.
Nice setup though!
--
______________________________
William Fong - www.digitaldev.com
"Antonio" <[EMAIL PROTECTED]> wrote in message
news:wMkU5.25608$[EMAIL PROTECTED]...
> I want to by a new box, to dual boot linux and win 2000. Will do games and
> possibly a server in the future. I have $2000 US.
> Any and all comments will be appreciated.
>
> AMD Athlon Socket A 1100 Thunderbird - Retail Box $385.00,
> 256MB 32X72 PC133 ECC (Lifetime Warranty) $212.00,
> ABIT KT7-RAID AMD Socket A $150.75,
> Ricoh CD-RW 6X4X24 + 4X DVD Int IDE - Retail Box $221.00,
> SoundBlaster Live Value $55.25,
> 3COM Fast Etherlink 3C905C w/Remote Wakeup $44.25,
> Windows 2000 OEM Professional $132.75,
> IBM 46.1GB Deskstar75GXP 7200RPM Ultra ATA/66+ 2MB $173.00,
> ASUS AGP-V7700 64MB Pure GeForce2 GTS - Retail Box $328.25,
> Enlight EN-72370X3A 300W HPS-300-101 AMD APPROVED $62.00,
> Install CPU/Memory - Set Mainboard Jumpers $7.50,
> Assemble Parts/Load Software/Burn-In $45.00
>
>
>
>
>
------------------------------
From: [EMAIL PROTECTED] (Oliver D. Bedford)
Crossposted-To: comp.os.linux.hardware
Subject: Re: Best OS for 486/33 SX w/ 32meg ram?
Date: 27 Nov 2000 10:20:13 +0100
[EMAIL PROTECTED] (shadowlord) writes:
> By web terminal I mean a machine which will primarily run a web
> browser .. it will not be running services of any kind.
Any Linux distro will work. But you have to remove all
unnecessary things (daemons, Desktops etc.). Of course,
Netscape will use all the memory you have.
> (It will be using another one of my PC's on the LAN which is the
> "server" for internet access.)
A low-traffic web-server needs less computing power than Netscape.
Oliver
------------------------------
From: "Jon Pomeroy" <[EMAIL PROTECTED]>
Subject: Installing to remote Linux boxes
Date: Mon, 27 Nov 2000 02:25:52 -0700
Here's the situation. I have dozens of Linux boxes in a lab. I have a
software package in RPM format that I want to install on all of the remote
boxes. I'm on an NT workstation (I can go to a Linux box if it is easier).
What would be the easiest way to copy this RPM around and install it on the
boxes? Do I use NFS, Samba, or FTP? Then how would I run the install the RPM
(ssh, telnet, something else...)? Can anybody think of a simpler way to do
this?
Thanks,
-Jon
------------------------------
From: [EMAIL PROTECTED] (Oliver D. Bedford)
Subject: Re: Promiscuous Mode???
Date: 27 Nov 2000 10:24:50 +0100
"David .." <[EMAIL PROTECTED]> writes:
>
> ifconfig | grep PROMISC
>
After an attack ifconfig might be compromised...
Oliver
------------------------------
From: [EMAIL PROTECTED] (Oliver D. Bedford)
Subject: Benefits of GRUB?
Date: 27 Nov 2000 10:27:32 +0100
I�ve just installed Mandrake 7.1 and noticed that
instead of lilo a program named grub is installed as boot-loader.
What are the advantages/disadvantages?
TIA,
Oliver
------------------------------
From: [EMAIL PROTECTED] (Villy Kruse)
Subject: Re: chmod within a skript
Date: 27 Nov 2000 09:41:30 GMT
On Sat, 25 Nov 2000 19:56:26 +0100,
Eric en Jolanda <[EMAIL PROTECTED]> wrote:
>> I want to use commands like chown or
>> chmod within a script . This is not allowed
>> for users other than root , because of sec-
>> urity reasons , so i tried to set the suid root
>> bit for the script , but to no avail .
>> It this possible in another way ?
>
>Then don't try to do it through any other user than root!
>What's the point of your security reason, if you are building ways around
>it!
>
I beleive the preferred way to run shell scripts as super user is to
run it through sudo.
Villy
------------------------------
From: "Daniel Pettersson" <[EMAIL PROTECTED]>
Subject: Re: Remove LILO
Date: Mon, 27 Nov 2000 09:45:22 GMT
nope,
win2000 doesn't know about fdisk...
"Franz Brummer" <[EMAIL PROTECTED]> skrev i meddelandet
news:8vt4e1$2fcn$[EMAIL PROTECTED]...
> Daniel Pettersson wrote:
>
> > Hi,
> >
> > I run RedHat and win2000 and I want to remove LILO from the master boot
> > record in the win2000 partition - but how do you do?
> >
> > thanx,
> > Daniel
> >
> >
> >
> In the DOS box on windows type:
>
> fdisk /mbr
>
> This will restore the windows boot sector.
>
> greets
------------------------------
From: Tom Pfeifer <[EMAIL PROTECTED]>
Subject: Re: Newbie question on lilo
Date: Mon, 27 Nov 2000 09:43:56 GMT
Eric wrote:
> > boot=/dev/hdc3
>
> This line will make sure LILO is NOT in the MBR.
> That way the lba32 line will be pretty ineffective :-)
>
> Should be:
> boot=/dev/hda -------> I assume you're on hda instead of hdc!
>
> Eric
That was just an example (from my system) only intended to show how to
use 'lba32'. But you're right in that I should have been more clear
about that :-)
Tom
------------------------------
From: "Martin Schmidt" <[EMAIL PROTECTED]>
Subject: Re: Remove LILO
Date: Mon, 27 Nov 2000 10:47:46 +0100
Franz Brummer <[EMAIL PROTECTED]> schrieb in im Newsbeitrag:
8vt4e1$2fcn$[EMAIL PROTECTED]
> Daniel Pettersson wrote:
>
> > Hi,
> >
> > I run RedHat and win2000 and I want to remove LILO from the master boot
> > record in the win2000 partition - but how do you do?
> >
> > thanx,
> > Daniel
> >
> >
> >
> In the DOS box on windows type:
>
> fdisk /mbr
>
> This will restore the windows boot sector.
>
> greets
Be careful i think this works only for Win 95/98 or Dos
------------------------------
From: Eric <[EMAIL PROTECTED]>
Subject: Re: HELP! Change partition table
Date: Mon, 27 Nov 2000 11:41:13 +0100
Reply-To: [EMAIL PROTECTED]
Franz Brummer wrote:
>
> Hi Eric!
>
> thx for your reply. You've made it much easier for me to sleep at night now...;)
> But still one problem remains, which I think this is not the right newsgroup for:
> I'm trying to install AtheOS (a new alternative OS - see http://www.atheos.cx) on
>hda3 but it doesn't recognize hda at all only hdb :(
> Just thought that the strange partition table on hda might be a reason for that.
> But maybe not. I will have to join the mailing list for AtheOS anyway...
>
> greets
Okay I mentioned windows as a potential danger, but the same goes for
any other OS.
There's absolutely no guarantee that another OS will interpret the
partition table the same as linux does. partition table are a potential
danger if you mix OS'es. Always keep a very simple partition table. You
used features that are allowed in a partition table, partition
boundaries that don't start/end on cylinder boundaries, (I don't know
why you did this, but that doens't really matter), but other OS's may
not be aware of these options (DOS eg. cannot deal with this!) I don't
know atheos, but I wouldn't guess it will handle the table correct. Your
100% safe as long as linux is the only OS that uses this table,
otherwise it is guessing.
Sorry to ruin your nights again :-|
Eric
------------------------------
From: Eric <[EMAIL PROTECTED]>
Subject: Re: Newbie question on lilo
Date: Mon, 27 Nov 2000 11:46:16 +0100
Reply-To: [EMAIL PROTECTED]
Tom Pfeifer wrote:
>
> Eric wrote:
>
> > > boot=/dev/hdc3
> >
> > This line will make sure LILO is NOT in the MBR.
> > That way the lba32 line will be pretty ineffective :-)
> >
> > Should be:
> > boot=/dev/hda -------> I assume you're on hda instead of hdc!
> >
> > Eric
>
> That was just an example (from my system) only intended to show how to
> use 'lba32'. But you're right in that I should have been more clear
> about that :-)
>
> Tom
This is in your lilo.conf??
I fail to see why the lba32 line is there,
if hda3 lies below cyl 1024, it's not needed, if hda3 is beyond cyl
1024, it won't work.
Or did you copy your lilo.conf file (which does not contain the lba32
line) and added the line as an example. Then I can understand this
again.
Eric
------------------------------
From: Eric <[EMAIL PROTECTED]>
Subject: Re: chmod within a skript
Date: Mon, 27 Nov 2000 11:49:03 +0100
Reply-To: [EMAIL PROTECTED]
Villy Kruse wrote:
>
> On Sat, 25 Nov 2000 19:56:26 +0100,
> Eric en Jolanda <[EMAIL PROTECTED]> wrote:
>
> >> I want to use commands like chown or
> >> chmod within a script . This is not allowed
> >> for users other than root , because of sec-
> >> urity reasons , so i tried to set the suid root
> >> bit for the script , but to no avail .
> >> It this possible in another way ?
> >
> >Then don't try to do it through any other user than root!
> >What's the point of your security reason, if you are building ways around
> >it!
> >
>
> I beleive the preferred way to run shell scripts as super user is to
> run it through sudo.
>
> Villy
Agreed, but then there's no problem with using these commands anymore.
Eric
------------------------------
** 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.setup) 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-Setup Digest
******************************