Re: [SLUG] RAID-5 array problems

2004-07-18 Thread Ben de Luca
andrew fries message regarding lilo twiged me to what might be going 
on, I am sure that linux software raid writes some thing to the disk? 
does hotadd add this? if it doesnt the raid wont recognise it.?



On 19/07/2004, at 1:26 PM, Dean Hamstead wrote:
it may be time to replace the whole original array
3x40 gigs isnt much any more, so you might want to dump it off to
tape and make the raid5 again from scratch with the new disks
seeing as one has died it may be the beginings of more deaths
so replacing them all now might save problems in the future.
Dean
Rowling, Jill wrote:
I wonder if it would come up OK if you formatted and partitioned only 
40GB
of the new disk, and used the other 40GB as a spare logical drive?
That is, trick the hardware into thinking it has three 40 GB disks 
again.
I recently had to replace both halves of a mirrored array (RAID-1 on
Solaris/SPARC) because I could not buy the same hardware that was 
originally
installed. I wonder if RAID-5 is similar?
The only time I've ever heard of different types of disks used in a 
RAID
system is when people make up a RAID-0 stripe from JBOD.
Cheers,
Jill.
-Original Message-
From: Chris Henman [mailto:[EMAIL PROTECTED] Sent: Monday, 19 July 
2004 12:12 PM
To: [EMAIL PROTECTED]
Subject: [SLUG] RAID-5 array problems
Dear All,
I have a RAID-5 array consisting of three 40GB disks (ext3) on a 
machine running Redhat 3.0ES.  Recently one of the three disks 
failed; hdf.  All continued happily on two disks.
Yeterday I bought some new disks; 3 x 80GBs.  I replaced the bad disk 
with a new one, formated and partioned the new disk and did a 
raidhotadd.  All seemed well, see copy of lsraid -A -a md0.
[EMAIL PROTECTED] root]# lsraid -A -a /dev/md0
[dev   9,   0] /dev/md0 02EF0419.559F377C.34A1ABA4.2AAE1C59 
online
[dev  33,   1] /dev/hde102EF0419.559F377C.34A1ABA4.2AAE1C59 
good
[dev  33,  65] /dev/hdf102EF0419.559F377C.34A1ABA4.2AAE1C59 
good
[dev  34,   1] /dev/hdg102EF0419.559F377C.34A1ABA4.2AAE1C59 
good
until I rebooted.  hdf was missing.  I did another raidhotadd and all 
was well again.  I waited until the disks had completely resynced and 
tried again.  Same result.
Below are raidtab and fstab, neither of which have been altered by me.
[EMAIL PROTECTED] etc]# cat raidtab
raiddev /dev/md0
raid-level  5
nr-raid-disks   3
chunk-size  64k
persistent-superblock   1
nr-spare-disks  0
  device  /dev/hde1
  raid-disk 0
  device  /dev/hdf1
  raid-disk 1
  device  /dev/hdg1
  raid-disk 2
also, fstab is quite straightforward.
[EMAIL PROTECTED] etc]# cat fstab
LABEL=/ /   ext3defaults  
  1 1
LABEL=/boot /boot   ext3defaults  
  1 2
none/dev/ptsdevpts  
gid=5,mode=620  0 0
/dev/md0/home   ext3defaults  
  1 2
none/proc   procdefaults  
  0 0
none/dev/shmtmpfs   defaults  
  0 0
/dev/hda3   swapswapdefaults  
  0 0
/dev/cdrom  /mnt/cdrom  udf,iso9660 
noauto,owner,kudzu,ro 0 0
/dev/fd0/mnt/floppy auto
noauto,owner,kudzu 0 0
Any suggestions as to why?
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] RAID-5 array problems

2004-07-18 Thread Dean Hamstead
it may be time to replace the whole original array
3x40 gigs isnt much any more, so you might want to dump it off to
tape and make the raid5 again from scratch with the new disks
seeing as one has died it may be the beginings of more deaths
so replacing them all now might save problems in the future.
Dean
Rowling, Jill wrote:
I wonder if it would come up OK if you formatted and partitioned only 40GB
of the new disk, and used the other 40GB as a spare logical drive?
That is, trick the hardware into thinking it has three 40 GB disks again.
I recently had to replace both halves of a mirrored array (RAID-1 on
Solaris/SPARC) because I could not buy the same hardware that was originally
installed. I wonder if RAID-5 is similar?
The only time I've ever heard of different types of disks used in a RAID
system is when people make up a RAID-0 stripe from JBOD.
Cheers,
Jill.
-Original Message-
From: Chris Henman [mailto:[EMAIL PROTECTED] 
Sent: Monday, 19 July 2004 12:12 PM
To: [EMAIL PROTECTED]
Subject: [SLUG] RAID-5 array problems

Dear All,
I have a RAID-5 array consisting of three 40GB disks (ext3) on a machine 
running Redhat 3.0ES.  Recently one of the three disks failed; hdf.  All 
continued happily on two disks.

Yeterday I bought some new disks; 3 x 80GBs.  I replaced the bad disk 
with a new one, formated and partioned the new disk and did a 
raidhotadd.  All seemed well, see copy of lsraid -A -a md0.

[EMAIL PROTECTED] root]# lsraid -A -a /dev/md0
[dev   9,   0] /dev/md0 02EF0419.559F377C.34A1ABA4.2AAE1C59 online
[dev  33,   1] /dev/hde102EF0419.559F377C.34A1ABA4.2AAE1C59 good
[dev  33,  65] /dev/hdf102EF0419.559F377C.34A1ABA4.2AAE1C59 good
[dev  34,   1] /dev/hdg102EF0419.559F377C.34A1ABA4.2AAE1C59 good
until I rebooted.  hdf was missing.  I did another raidhotadd and all 
was well again.  I waited until the disks had completely resynced and 
tried again.  Same result.

Below are raidtab and fstab, neither of which have been altered by me.
[EMAIL PROTECTED] etc]# cat raidtab
raiddev /dev/md0
raid-level  5
nr-raid-disks   3
chunk-size  64k
persistent-superblock   1
nr-spare-disks  0
  device  /dev/hde1
  raid-disk 0
  device  /dev/hdf1
  raid-disk 1
  device  /dev/hdg1
  raid-disk 2
also, fstab is quite straightforward.
[EMAIL PROTECTED] etc]# cat fstab
LABEL=/ /   ext3defaults1 1
LABEL=/boot /boot   ext3defaults1 2
none/dev/ptsdevpts  gid=5,mode=620  0 0
/dev/md0/home   ext3defaults1 2
none/proc   procdefaults0 0
none/dev/shmtmpfs   defaults0 0
/dev/hda3   swapswapdefaults0 0
/dev/cdrom  /mnt/cdrom  udf,iso9660 
noauto,owner,kudzu,ro 0 0
/dev/fd0/mnt/floppy auto
noauto,owner,kudzu 0 0


Any suggestions as to why?
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] FW: Configuring LILO after installing Linux (Dual boot setup)

2004-07-18 Thread andrew fries
On Monday 19 July 2004 11:03 am, Steve Drinkald wrote:
> Hi group,
> I'm a very green newbie, so I apologise in advance for asking a dumb
> question.  I have a Debian Linux "Morphix" install CD which I have used to
> install onto my new laptop.  I partitioned my hard drive and installed
> windows XP pro on one primary partition  (which includes the MBR) and Linux
> onto the other primary partition.  I installed LILO as part of the Debian
> install, and put it on the boot sector of the Linux drive.
>  
> When I start my PC, it goes straight into XP (as this is where the MBR is)
> and I don't get an option to select Linux.  I don't believe LILO has been
> configured yet on Linux, but I can't seem to get to Linux on the HDD.  If I
> boot off the Linux CD, then I am operating on the CD system, if I boot the
> PC, I load up XP.  What steps do I have to perform to be able to get to a
> dual boot situation.

James' post tells you how to fix this situation, I'll just try to explain in 
small words what happened here. MBR is not the part of your primary 
partition, or any other partitions; it's the first couple of sectors on your 
HD, even *before* partitions start. So now you've still got Windows 
bootloader sitting there, while lilo is the beginning of your Linux 
partition. Trouble is, lilo will never be found there - not by Windows 
bootloader anyway, since it doesn't want to know about any other OSs. 

What you should've done, is tell lilo to install in MBR. This would mean lilo 
takes over all booting duties on your system; you'd have to then configure it 
to boot Windows as well as Morphix. 

That option of putting lilo at the beginning of root partition is really only 
useful in cases where you've already got another sensible bootloader handling 
the process and you don't want to replace it. Windows bootloader is not 
sensible.
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] RAID-5 array problems

2004-07-18 Thread James Gray
Rowling, Jill wrote:
The only time I've ever heard of different types of disks used in a RAID
system is when people make up a RAID-0 stripe from JBOD.
Or the space cadet who created a RAID-5 with Disksuite (Solaris software 
RAID for the uninitiated) with 2 drives:
1 x 4Gb
1 x 8Gb (sliced as 2 x 4Gb)

Presto!!  3 x 4Gb partitions, RAID-5 configured as one meta device 
...unf.  This provided 8Gb of startling redundancy and speed. 
"Startling" being the operative word when I inherited the machine from 
aforementioned space cadet.

-- James
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


RE: [SLUG] RAID-5 array problems

2004-07-18 Thread Rowling, Jill
I wonder if it would come up OK if you formatted and partitioned only 40GB
of the new disk, and used the other 40GB as a spare logical drive?
That is, trick the hardware into thinking it has three 40 GB disks again.

I recently had to replace both halves of a mirrored array (RAID-1 on
Solaris/SPARC) because I could not buy the same hardware that was originally
installed. I wonder if RAID-5 is similar?
The only time I've ever heard of different types of disks used in a RAID
system is when people make up a RAID-0 stripe from JBOD.

Cheers,

Jill.

-Original Message-
From: Chris Henman [mailto:[EMAIL PROTECTED] 
Sent: Monday, 19 July 2004 12:12 PM
To: [EMAIL PROTECTED]
Subject: [SLUG] RAID-5 array problems


Dear All,

I have a RAID-5 array consisting of three 40GB disks (ext3) on a machine 
running Redhat 3.0ES.  Recently one of the three disks failed; hdf.  All 
continued happily on two disks.

Yeterday I bought some new disks; 3 x 80GBs.  I replaced the bad disk 
with a new one, formated and partioned the new disk and did a 
raidhotadd.  All seemed well, see copy of lsraid -A -a md0.

[EMAIL PROTECTED] root]# lsraid -A -a /dev/md0
[dev   9,   0] /dev/md0 02EF0419.559F377C.34A1ABA4.2AAE1C59 online
[dev  33,   1] /dev/hde102EF0419.559F377C.34A1ABA4.2AAE1C59 good
[dev  33,  65] /dev/hdf102EF0419.559F377C.34A1ABA4.2AAE1C59 good
[dev  34,   1] /dev/hdg102EF0419.559F377C.34A1ABA4.2AAE1C59 good

until I rebooted.  hdf was missing.  I did another raidhotadd and all 
was well again.  I waited until the disks had completely resynced and 
tried again.  Same result.

Below are raidtab and fstab, neither of which have been altered by me.

[EMAIL PROTECTED] etc]# cat raidtab
raiddev /dev/md0
raid-level  5
nr-raid-disks   3
chunk-size  64k
persistent-superblock   1
nr-spare-disks  0
  device  /dev/hde1
  raid-disk 0
  device  /dev/hdf1
  raid-disk 1
  device  /dev/hdg1
  raid-disk 2

also, fstab is quite straightforward.

[EMAIL PROTECTED] etc]# cat fstab
LABEL=/ /   ext3defaults1 1
LABEL=/boot /boot   ext3defaults1 2
none/dev/ptsdevpts  gid=5,mode=620  0 0
/dev/md0/home   ext3defaults1 2
none/proc   procdefaults0 0
none/dev/shmtmpfs   defaults0 0
/dev/hda3   swapswapdefaults0 0
/dev/cdrom  /mnt/cdrom  udf,iso9660 
noauto,owner,kudzu,ro 0 0
/dev/fd0/mnt/floppy auto
noauto,owner,kudzu 0 0



Any suggestions as to why?

-- 

 Chris Henman
 RedBox microSystems
 ABN 70 946 135 312 

 Phone:  +61 2 6161 4640
 Mobile:   0421 597 333

 

 Powered by Linux - Democracy in Information Technology.


 

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

--
IMPORTANT NOTICES
This email (including any documents referred to in, or attached, to this
email) may contain information that is personal, confidential or the subject
of copyright or other proprietary rights in favour of Aristocrat, its
affiliates or third parties. This email is intended only for the named
addressee. Any privacy, confidence, copyright or other proprietary rights in
favour of Aristocrat, its affiliates or third parties, is not lost because
this email was sent to you by mistake.

If you received this email by mistake you should: (i) not copy, disclose,
distribute or otherwise use it, or its contents, without the consent of
Aristocrat or the owner of the relevant rights; (ii) let us know of the
mistake by reply email or by telephone (+61 2 9413 6300); and (iii) delete
it from your system and destroy all copies.

Any personal information contained in this email must be handled in
accordance with applicable privacy laws.

Electronic and internet communications can be interfered with or affected by
viruses and other defects. As a result, such communications may not be
successfully received or, if received, may cause interference with the
integrity of receiving, processing or related systems (including hardware,
software and data or information on, or using, that hardware or software).
Aristocrat gives no assurances in relation to these matters.

If you have any doubts about the veracity or integrity of any electronic
communication we appear to have sent you, please call +61 2 9413 6300 for
clarification.
-- 
SLUG - Sydney Linux User's Group Mailing List - ht

[SLUG] RAID-5 array problems

2004-07-18 Thread Chris Henman
Dear All,
I have a RAID-5 array consisting of three 40GB disks (ext3) on a machine 
running Redhat 3.0ES.  Recently one of the three disks failed; hdf.  All 
continued happily on two disks.

Yeterday I bought some new disks; 3 x 80GBs.  I replaced the bad disk 
with a new one, formated and partioned the new disk and did a 
raidhotadd.  All seemed well, see copy of lsraid -A -a md0.

[EMAIL PROTECTED] root]# lsraid -A -a /dev/md0
[dev   9,   0] /dev/md0 02EF0419.559F377C.34A1ABA4.2AAE1C59 online
[dev  33,   1] /dev/hde102EF0419.559F377C.34A1ABA4.2AAE1C59 good
[dev  33,  65] /dev/hdf102EF0419.559F377C.34A1ABA4.2AAE1C59 good
[dev  34,   1] /dev/hdg102EF0419.559F377C.34A1ABA4.2AAE1C59 good
until I rebooted.  hdf was missing.  I did another raidhotadd and all 
was well again.  I waited until the disks had completely resynced and 
tried again.  Same result.

Below are raidtab and fstab, neither of which have been altered by me.
[EMAIL PROTECTED] etc]# cat raidtab
raiddev /dev/md0
raid-level  5
nr-raid-disks   3
chunk-size  64k
persistent-superblock   1
nr-spare-disks  0
 device  /dev/hde1
 raid-disk 0
 device  /dev/hdf1
 raid-disk 1
 device  /dev/hdg1
 raid-disk 2
also, fstab is quite straightforward.
[EMAIL PROTECTED] etc]# cat fstab
LABEL=/ /   ext3defaults1 1
LABEL=/boot /boot   ext3defaults1 2
none/dev/ptsdevpts  gid=5,mode=620  0 0
/dev/md0/home   ext3defaults1 2
none/proc   procdefaults0 0
none/dev/shmtmpfs   defaults0 0
/dev/hda3   swapswapdefaults0 0
/dev/cdrom  /mnt/cdrom  udf,iso9660 
noauto,owner,kudzu,ro 0 0
/dev/fd0/mnt/floppy auto
noauto,owner,kudzu 0 0


Any suggestions as to why?
--
Chris Henman
RedBox microSystems
ABN 70 946 135 312 

Phone:  +61 2 6161 4640
Mobile:   0421 597 333

Powered by Linux - Democracy in Information Technology.

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Configuring LILO after installing Linux (Dual boot setup)

2004-07-18 Thread James Gray
Steve Drinkald wrote:
Hi group,
I'm a very green newbie, so I apologise in advance for asking a dumb 
question.  I have a Debian Linux "Morphix" install CD which I have used 
to install onto my new laptop.  I partitioned my hard drive and 
installed windows XP pro on one primary partition  (which includes the 
MBR) and Linux onto the other primary partition.  I installed LILO as 
part of the Debian install, and put it on the boot sector of the Linux 
drive.

When I start my PC, it goes straight into XP (as this is where the MBR 
is) and I don't get an option to select Linux.  I don't believe LILO has 
been configured yet on Linux, but I can't seem to get to Linux on the 
HDD.  If I boot off the Linux CD, then I am operating on the CD system, 
if I boot the PC, I load up XP.  What steps do I have to perform to be 
able to get to a dual boot situation.

 

Thanks in advance for the assistance.
Steve
Hi Steve,
Firstly, please set your e-mail format to plain text for this list :) 
Many of us use non-GUI mail readers and "pretty" HTML/Rich-Text just 
looks god-awful :P

Now as for lilo, you are correct - Lilo needs to be installed in the 
boot sector.  This is pretty easy to do, just grab your linux boot disk 
(you did make one during the install when it asked you to, right?) and 
boot your linux partition.  Once booted, log in as root and do the 
following:

1. Backup your existing /etc/lilo.conf file:
   cp /etc/lilo.conf /etc/lilo.conf-001
2. Edit /etc/lilo.conf with your preferred text editor 
(nano/joe/vi/emacs etc...)

2. Find the line that reads "boot = /dev/hdaX" where X is a number, and 
change it to "boot = /dev/hda".  This will install lilo in the MBR 
rather than a linux partition.

3. Now scroll down a bit, make sure you have a "delay=NN" line.  This 
will cause lilo to wait "NN x 10" seconds before booting the default 
(see #4).  In other words, "NN" are tenths of a second.

4. Make sure you have (at least) one "image" stanza to boot linux and 
one "other" stanza to boot Windows.  Use the following as a guide:

default=Linux
image=/vmlinuz
# "label" is what "default" uses.
label=Linux
read-only
# Careful with this - make sure it exists first!
initrd=/initrd.img
# If you have another OS on this machine to boot, you can uncomment the
# following lines, changing the device name on the `other' line to
# where your other OS' partition is.
other=/dev/hda1
# Change "default=Windows" to automatically
# boot Windows instead
label=Windows
5. Save your changes to lilo.conf
6. RUN LILO!!  Something like "lilo -v" without the "".  Somewhere in 
all the stuff that is displayed should be a line:
Reading boot sector from /dev/hda

and some other stuff like this:
Boot image: /vmlinuz
Mapping RAM disk /initrd.img
Added Linux *
Added Windows
(the * means "this is the default")
7. Reboot - you should get the lilo boot menu where you can select 
Windows or Linux :)

That's it :)
Now if you didn't make a boot disk - get back to us, we can give another 
set of destructions to boot from an install disk and use "rescue" mode, 
then mount your installed partitions, then "chroot" etc.  Make sure you 
tell us what you disk layout looks like!  Something like this would be 
REALLY handy:
/dev/hda1 = Windows
/dev/hda2 = root /
/dev/hda3 = SWAP

Cheers,
James
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] FW: Configuring LILO after installing Linux (Dual boot setup)

2004-07-18 Thread James Ponza
Probably the quickest way to fix this problem is:

1) put morphix cd in drive and boot from it
2) when in morphix fire up a console and log in as root
3) check to make sure that your OS partitions have been mounted, and if not, 
then for eg if /dev/hda3 is /, /dev/hda1 is /boot, etc, then just do:
mkdir /morphix
mount /dev/hda3 /morphix
mount /dev/hda1 /morphix/boot
so basically you just want to make sure your harddrive install's root 
partition and boot partition are accessible. now lets assume they ARE mounted 
on /morphix (and if not substitute where they are for that in what I am about 
to say):
4) chroot /morphix /bin/bash
5) vi /etc/lilo.conf (assuming that you use vi - else substitute pico or 
whatever)
6) whilst in the lilo.conf file just look at it and make sure it is set to 
boot your windows drive - if not set that up (and that really depends on what 
you installed first, but it sounds like you did morphix first - NEVER let 
windows get a chance to fiddle with the bootsector if you want to dual boot - 
always do windows first and everything else last).
its easy to set up but off the top of my head I couldn't tell you how - just 
google for +"dual boot" +"lilo.conf" and you will find examples.
7) **MOST IMPORTANT STEP** (and this is really all we booted and chrooted 
for): run 'lilo'. and it will rewrite your bootsector - including the entry 
for windows if you set it up properly in the lilo.conf.
if this is your only system, or you'd prefer to be running linux whilst you 
worked on this, don't even worry about the windows lilo entry... just chroot 
to your morphix partition, and run /sbin/lilo - and the bootsector will be 
restored. then boot into linux and google for the windows info (or maybe by 
then someone on this list will post that part of their own config - I don't 
use windows though). then you can add it to your lilo.conf and run lilo (to 
rewrite MBR) at your leisure :)

I hope this was clear - I know i waffled a bit. in summary:

1) boot from CD
2) ensure your root partition is mounted (and so is /boot if its seperate)
3) # chroot /path/to/morphix /bin/bash
4) # /sbin/lilo
5) # reboot

and that will install lilo, and you can go from there adding windows to 
lilo :)

good luck
James






On Monday 19 July 2004 11:03, Steve Drinkald wrote:
> Hi group,
> I'm a very green newbie, so I apologise in advance for asking a dumb
> question.  I have a Debian Linux "Morphix" install CD which I have used to
> install onto my new laptop.  I partitioned my hard drive and installed
> windows XP pro on one primary partition  (which includes the MBR) and Linux
> onto the other primary partition.  I installed LILO as part of the Debian
> install, and put it on the boot sector of the Linux drive.
>  
> When I start my PC, it goes straight into XP (as this is where the MBR is)
> and I don't get an option to select Linux.  I don't believe LILO has been
> configured yet on Linux, but I can't seem to get to Linux on the HDD.  If I
> boot off the Linux CD, then I am operating on the CD system, if I boot the
> PC, I load up XP.  What steps do I have to perform to be able to get to a
> dual boot situation.
>  
> Thanks in advance for the assistance.
> Steve
>   
>  
> --
> SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
> Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
>
> ---Safe
> Stamp--- Your Anti-virus Service scanned
> this email. It is safe from known viruses. For more information regarding
> this service, please contact your service provider.

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] FW: Configuring LILO after installing Linux (Dual boot setup)

2004-07-18 Thread Steve Drinkald


Hi group,
I'm a very green newbie, so I apologise in advance for asking a dumb
question.  I have a Debian Linux "Morphix" install CD which I have used to
install onto my new laptop.  I partitioned my hard drive and installed
windows XP pro on one primary partition  (which includes the MBR) and Linux
onto the other primary partition.  I installed LILO as part of the Debian
install, and put it on the boot sector of the Linux drive.
 
When I start my PC, it goes straight into XP (as this is where the MBR is)
and I don't get an option to select Linux.  I don't believe LILO has been
configured yet on Linux, but I can't seem to get to Linux on the HDD.  If I
boot off the Linux CD, then I am operating on the CD system, if I boot the
PC, I load up XP.  What steps do I have to perform to be able to get to a
dual boot situation. 
 
Thanks in advance for the assistance.
Steve
  
 
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Configuring LILO after installing Linux (Dual boot setup)

2004-07-18 Thread Steve Drinkald








Hi group,

I'm a very green newbie, so I apologise in
advance for asking a dumb question.  I have a Debian Linux "Morphix"
install CD which I have used to install onto my new laptop.  I partitioned
my hard drive and installed windows XP pro on one primary partition 
(which includes the MBR) and Linux onto the other primary partition.  I
installed LILO as part of the Debian install, and put it on the boot sector of
the Linux drive.

 

When I start my PC, it goes straight into XP (as this
is where the MBR is) and I don't get an option to select Linux.  I
don't believe LILO has been configured yet on Linux, but I can't
seem to get to Linux on the HDD.  If I boot off the Linux CD, then I am
operating on the CD system, if I boot the PC, I load up XP.  What steps do
I have to perform to be able to get to a dual boot situation. 

 

Thanks in advance for the assistance.

Steve

 


 
  
  
   

Steve Drinkald 

   
   

Systems Integration Specialist

   
   

Camms Systems Integration

   
  
  
  
 
 
  
  
  
 
 
  
  
   

Mobile: 


0418 841 112

   
   

Company: 


08 8444 5111

   
   

Fax: 


08 8268 8599

   
   

Int. 04 =>
+614, 08 => +618

   
   

[EMAIL PROTECTED]

   
   

http://www.camms.com.au

   
   


 
  
  Camms
  346 Torrens Road
  Croydon Park
  SOUTH AUSTRALIA 5008 
  
 



   
  
  
  
  
  
   



   
  
  
  
 
 
  
   
  
 
 
  
  
   

This
e-mail and any attachments are confidential and may contain legally
privileged and/or copyright information of Camms or third parties. If you
are not an authorised recipient of this e-mail, please contact the sender
immediately and do not print, re-transmit or store this email or any attachments.
Any loss/damage incurred by using this material is not the sender's
responsibility.

   
  
  
  
 


 

 






<>-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] ssh and X forwarding woes.

2004-07-18 Thread Richard Heycock
On Fri, 2004-07-16 at 14:17, Jan Schmidt wrote:
> 
> 
> > Can anyone shed any light on this as I am going completely mad!
> > 
> 
> Make sure that xbase-clients is installed on the machine you're ssh'ing into
> - xauth is required on the destination machine.

Hurrah it works! Thanks for that.

rgh

> 
> J.
> -- 
> Jan Schmidt  [EMAIL PROTECTED]
> 
> It is hard to believe that a man is telling the truth when you know that you would 
> lie if you were in his place. - H.L. Mencken
-- 
"In theory, there is no difference between theory and practice. In
practice, there is." -- Yogi Berra

Richard Heycock <[EMAIL PROTECTED]>
tel : 0410 646 369
key fingerprint : 909D CBFA C669 AC2F A937 AFA4 661B 9D21 EAAB 4291
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] find help

2004-07-18 Thread Kevin Saenz
change it to an alias. at least you wouldn't need to type the entire 
line out.

On Sun, 2004-07-18 at 22:16 +1000, James Gregory wrote:
 

Hi all,
I just tried to use the 'find' command to locate for me all files on a
filesystem that were modified on a given date. I have just discovered
that this is a moderately difficult problem. 'man find' tells me that
there are atime, ctime and mtime options but they only let me specify
time relative to today in hours. I can see that I potentially could
construct a find query with these tools and judicious use of -a and '!',
but that can't be the simplest way.
   

So far I've got this:
find . -printf "%Cd-%Cm-%CY\t%h/%f\n" | grep '^06-07-2004' | perl -pe 's/^.*\t//;'
Which is *hideous*. Tell me there's a better way. And I don't mean by
substituting 'sed' for 'perl -pe'.
James.
 

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] FTA cross-industry press conference

2004-07-18 Thread Pia Smith
Hi all,

Just a quick note from your friendly Linux Australia type person :)

Due to recent talks between Linux Australia and several other industry
representatives, we are lucky enough to now be involved in a
cross-industry press conference this Wednesday. It will be at 11am, in
the Jubilee room at Parliament House, Macquarie St, Sydney. We have reps
from IT, the Health as well as the Media indsutries with many concerns
to be expressed, including common areas of concern such as IP.

The scary thing is that some of these groups have been involved with the
FTA discussion for 2 years, they were at the drawing table and still
received the sharp end of the stick. We are at a significant
disadvantage because they _are_ the peak bodies of their industries,
whereas in IT, Australian focused organisations like us are expressing
concerns, and some of the bigger IT organisations have a lot of foreign
companies on the board, of whom don't have to worry about the changes so
much and so are embracing the FTA. It has been amusing to watch some of
the orgs put out statements supporting the FTA and then withdraw their
comments upon research ;) Anyway, our politicians are getting mixed
messages from us which is frustrating.

I hope that anyone concerned with this stuff has sent letters, or at
least called their local members. They can't protect you from that which
they don't understand.

I'm not sure how public the press conference should be, it isn't being
organised by us, however some support there would certainly be helpful
:)

Cheers all,
Pia
-- 
Pia Smith
President of Linux Australia
[EMAIL PROTECTED]

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] find help

2004-07-18 Thread James Gregory
On Mon, 2004-07-19 at 00:11 +1000, Ben de Luca wrote:
> Cant be bothered testing its late and i am reading this with literally 
> one eye open but how about using -ctime twice?
> 
> some thing like find ./path -ctime +11 -ctime -12 -type f
> 
> as i understand it that should find files greater than 11 days and less 
> that 12?
> hmm to lazy to test it properly sorry

yeah, you can do that. That's what I originally planned to do. You need
a '-a' to make it work. Find has a '-daystart' to make both of those
options be rounded to day boundaries, but I'm really looking for
something where I can actually specify the date, rather than having to
actually think about how many days ago it was.

It'd be straightforward to write, so I guess I'll write a function and
add it to my .bashrc. I'm just astonished that find doesn't provide some
mechanism for this on its own.

Thanks for the help, everyone.

James.

-- 
James Gregory <[EMAIL PROTECTED]>


signature.asc
Description: This is a digitally signed message part
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] find help

2004-07-18 Thread Ben de Luca
Cant be bothered testing its late and i am reading this with literally 
one eye open but how about using -ctime twice?

some thing like find ./path -ctime +11 -ctime -12 -type f
as i understand it that should find files greater than 11 days and less 
that 12?
hmm to lazy to test it properly sorry

oh and ofcouse its hideous its using perl!
On 18/07/2004, at 10:45 PM, James Gregory wrote:
On Sun, 2004-07-18 at 22:16 +1000, James Gregory wrote:
Hi all,
I just tried to use the 'find' command to locate for me all files on a
filesystem that were modified on a given date. I have just discovered
that this is a moderately difficult problem. 'man find' tells me that
there are atime, ctime and mtime options but they only let me specify
time relative to today in hours. I can see that I potentially could
construct a find query with these tools and judicious use of -a and 
'!',
but that can't be the simplest way.
So far I've got this:
find . -printf "%Cd-%Cm-%CY\t%h/%f\n" | grep '^06-07-2004' | perl -pe 
's/^.*\t//;'

Which is *hideous*. Tell me there's a better way. And I don't mean by
substituting 'sed' for 'perl -pe'.
James.
--
James Gregory <[EMAIL PROTECTED]>
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] WG311 with mandrake!!!

2004-07-18 Thread flare
Steven,

If you have an Atheros based chipset you will have to use the MadWifi
driver, http://sourceforge.net/projects/madwifi/ I believe.

If you perform an lspci you should be able to see your card come up with
a string as unrecognised, using google with this string will prove you
need this type of driver.

I do have the Madwifi driver working under Mandrake 10 on an IBM laptop.

Phil

On Sat, 2004-07-17 at 23:22, Steven Chang-Lin Yu wrote:
> Thanks for everyone's email regarding netgear WG311 under mandrake,
> however I still not really sure about what I am doing, it seems that
> the ahtone in the wireless section when the new hardware doesn't
> support the wg311 at all, I can't get it to auto probe the card!!! 
> can some one tell me step by step what I need to do?
>  
> Thanks
>  
> Steven
>  
> __
> Steven Chang-Lin Yu
> UNSW MEngSc of Telecommunications
> Computer Technician
> ICQ#: 66369374
> 
> Current ICQ status:  
> 
> ( Home Tel#:  +61 0401043641
> ( Work Tel#:  +61 0401043641
> +  More ways to contact me 
>Get ICQ!
> __
>  
> 
> 
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.721 / Virus Database: 477 - Release Date: 16/07/2004
> 
> 
> 
> 
> __
> -- 
> SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
> Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] find help

2004-07-18 Thread James Gregory
On Sun, 2004-07-18 at 22:16 +1000, James Gregory wrote:
> Hi all,
> 
> I just tried to use the 'find' command to locate for me all files on a
> filesystem that were modified on a given date. I have just discovered
> that this is a moderately difficult problem. 'man find' tells me that
> there are atime, ctime and mtime options but they only let me specify
> time relative to today in hours. I can see that I potentially could
> construct a find query with these tools and judicious use of -a and '!',
> but that can't be the simplest way.

So far I've got this:

find . -printf "%Cd-%Cm-%CY\t%h/%f\n" | grep '^06-07-2004' | perl -pe 's/^.*\t//;'

Which is *hideous*. Tell me there's a better way. And I don't mean by
substituting 'sed' for 'perl -pe'.

James.

-- 
James Gregory <[EMAIL PROTECTED]>


signature.asc
Description: This is a digitally signed message part
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] find help

2004-07-18 Thread Kevin Saenz
James,
If I want to find a file all I do is
find [path] -name [filename]
ie if I want to find an ogg file all I do is
find /image -name *.ogg
This will list all files with ogg files.
Hi all,
I just tried to use the 'find' command to locate for me all files on a
filesystem that were modified on a given date. I have just discovered
that this is a moderately difficult problem. 'man find' tells me that
there are atime, ctime and mtime options but they only let me specify
time relative to today in hours. I can see that I potentially could
construct a find query with these tools and judicious use of -a and '!',
but that can't be the simplest way.
I also checked the gnome find tool thing fearing that I had just become
incapable of reading manpages but discovered to my shock that it can't
do it either.
Anyone have any ideas on this?
Thanks,
James.
 

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] find help

2004-07-18 Thread Tony Green
On 18/07/2004, at 10:16 PM, James Gregory wrote:
I just tried to use the 'find' command to locate for me all files on a
filesystem that were modified on a given date. I have just discovered
that this is a moderately difficult problem. 'man find' tells me that
there are atime, ctime and mtime options but they only let me specify
time relative to today in hours. I can see that I potentially could
construct a find query with these tools and judicious use of -a and 
'!',
but that can't be the simplest way.

Quickest way I found to do this (hacky but quick) was
find . -ls | egrep "Jul 18"
I think all modern versions of find support '-ls', if yours doesn't, 
try '-exec ls -l {} \;' instead.

Remember that 'ls' pads the date, so "Jul 1" is "Jul  1" (two spaces).
Greeno
--
Tony Green <[EMAIL PROTECTED]>
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] find help

2004-07-18 Thread James Gregory
Hi all,

I just tried to use the 'find' command to locate for me all files on a
filesystem that were modified on a given date. I have just discovered
that this is a moderately difficult problem. 'man find' tells me that
there are atime, ctime and mtime options but they only let me specify
time relative to today in hours. I can see that I potentially could
construct a find query with these tools and judicious use of -a and '!',
but that can't be the simplest way.

I also checked the gnome find tool thing fearing that I had just become
incapable of reading manpages but discovered to my shock that it can't
do it either.

Anyone have any ideas on this?

Thanks,

James.
-- 
James Gregory <[EMAIL PROTECTED]>


signature.asc
Description: This is a digitally signed message part
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Anyone using linux PDAs?

2004-07-18 Thread Johnny
Anyone using linux PDA's?
Would like to get one, definitely want wireless.
If you have one, what is it, do you like it, does it have cool utils, 
whats it run on, what did it cost etc?
Are there hidden costs etc.
General opinions wanted.

Thx
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html