Re: [newbie] Trouble mounting HDC

2003-12-22 Thread Raffaele Belardi
Schof solved his problem, but I have to disagree with HarM on the 
subject of mounting disk.

Mounting the whole disk (i.e. hdc) works for cdrom, not for hard disk. 
For these, you can only mount the partition (i.e hdc1).

How would the kernel know where to mount your partitions if you did't 
tell explicitely?

raffaele

[EMAIL PROTECTED] wrote:
On Sunday 21 December 2003 23:25, John Schofield wrote:

Thanks for the quick reply!

HarM: Yes, it's cabled as master.  I always welcome idiot-checks.
{smile}


You're welcome (grin)


derek:  It's ide-scsi.  Which I don't really understand, since it's a
standard ATA CD-ROM, but I commented-out the line anyway, which didn't
make a difference after reboot.  Symptoms unchanged.  I'm afraid I
don't understand what you mean when you say use /dev/hdd instead.  Do
you mean I should remove the ide-scsi line I currently have commented
out and replace it with a line pointing to /dev/hdc?  This doesn't seem
correct, because the CD-ROM currently works perfectly.  (If it was
plugged in and the line in /etc/fstab uncommented.)
HarM:  Are you sure it would be /dev/hdc and not /dev/hdc1?  The HD is
partitioned into several volumes.  (I have tried mounting /dev/hdc,
/dev/hdc1, /dev/hdc2, etc. with no change.)  Plus DiskDrake still
doesn't  show me any tab for /dev/hdc.


Yes, I'm sure...that way you mount the whole disk i.e. all partitions.



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Trouble mounting HDC

2003-12-22 Thread H.J.Bathoorn
On Monday 22 December 2003 09:22, Raffaele Belardi wrote:
 Schof solved his problem, but I have to disagree with HarM on the
 subject of mounting disk.

I hate to say it but I have to agree with your disagree-ance:)

You're right of course, one mounts partitions not the whole disk.
I got mount and fdisk muddled there.

Good luck,
HarM
Bows head and cringes back to his garbage can;)
-- 
Registered Linux User #197998
FSF Associate Member #901
ICQ #146191606
Mandrake HowTo's  more: http://twiki.mdklinuxfaq.org



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Trouble mounting HDC

2003-12-21 Thread John Schofield
Thanks for the quick reply!

HarM: Yes, it's cabled as master.  I always welcome idiot-checks.  
{smile}

derek:  It's ide-scsi.  Which I don't really understand, since it's a 
standard ATA CD-ROM, but I commented-out the line anyway, which didn't 
make a difference after reboot.  Symptoms unchanged.  I'm afraid I 
don't understand what you mean when you say use /dev/hdd instead.  Do 
you mean I should remove the ide-scsi line I currently have commented 
out and replace it with a line pointing to /dev/hdc?  This doesn't seem 
correct, because the CD-ROM currently works perfectly.  (If it was 
plugged in and the line in /etc/fstab uncommented.)

HarM:  Are you sure it would be /dev/hdc and not /dev/hdc1?  The HD is 
partitioned into several volumes.  (I have tried mounting /dev/hdc, 
/dev/hdc1, /dev/hdc2, etc. with no change.)  Plus DiskDrake still 
doesn't  show me any tab for /dev/hdc.

Thanks very much for your help, folks!  Any other suggestions?

Schof

On Dec 21, 2003, at 1:52 PM, Derek Jennings wrote:

On Sunday 21 Dec 2003 9:37 pm, John Schofield wrote:
I've recently installed Mandrake on an IDE drive (master on primary
channel).  I have some files I want to get off some other hard drives
before I wipe them.  I removed my CD-ROM temporarily and cabled the 
IDE
HD in its place as master on secondary channel.  I started out by
attempting to mount /dev/hdc1 /mnt/hd2 and get special device
/dev/hdc1 does not exist.

HardDrake lists both hda and hdc under the disks drop-down, but when I
select hdc and choose run config tool DiskDrake only shows me an hda
tab; there's no tab for hdc.
I have tried this with two different known-good disks; exact same
result from both.
Any suggestions for further troubleshooting?

Thanks very much!
You need to edit your /etc/fstab file to let it know /dev/hdc is no 
longer a
CD drive  The format should be self explanatory. You can comment out 
the old
entry with a '#' at the beginning of the line. Then reboot and it 
should find
your drive.

If the CD-ROM is defined as ide-scsi, then it is a bit more 
complicated. If
your /etc/fstab has no entry for /dev/hdc but does have an entry for
/dec/scd0  then it is ide-scsi  The simplest way around this issue is 
to use
/dev/hdd instead  (The alternative is to rewrite your boot sector 
which is
more hassle)

HTH

derek
--
--
www.jennings.homelinux.net
http://twiki.mdklinuxfaq.org
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Trouble mounting HDC

2003-12-21 Thread Charlie Mahan
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Sunday 21 December 2003 3:25 pm, John Schofield wrote:
whack
 Thanks for the quick reply!

 HarM:  Are you sure it would be /dev/hdc and not /dev/hdc1?  The HD is
 partitioned into several volumes.  (I have tried mounting /dev/hdc,
 /dev/hdc1, /dev/hdc2, etc. with no change.)  Plus DiskDrake still
 doesn't  show me any tab for /dev/hdc.

 Thanks very much for your help, folks!  Any other suggestions?


 Schof

Have you run detect in set up (BIOS) before you let the system boot? Some 
older hardware won't see any new drives unless you do so.

Mandrake is usually very good about detecting new drives but on older hardware 
with older BIOS the system has to detect the drive first.

Charlie
- -- 
Edmonton,AB,Canada User #244963 at http://counter.li.org
Mandrake Linux release 9.2 (FiveStar) for i586 kernel 2.4.22-21.tmb.1mdk
15:29:34 up 1 day, 1:17, 1 user, load average: 0.15, 0.11, 0.09
The bug stops here.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/5h+IZqvqlrLPr5YRAlIGAJ9MyLMcIejOuqPb0MlXmqIaJ5u0lwCfVvjQ
wDwrTFKqbx+XCLQi+tSwQEk=
=hspZ
-END PGP SIGNATURE-


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Trouble mounting HDC

2003-12-21 Thread H.J.Bathoorn
On Sunday 21 December 2003 23:25, John Schofield wrote:
 Thanks for the quick reply!

 HarM: Yes, it's cabled as master.  I always welcome idiot-checks.
 {smile}

You're welcome (grin)


 derek:  It's ide-scsi.  Which I don't really understand, since it's a
 standard ATA CD-ROM, but I commented-out the line anyway, which didn't
 make a difference after reboot.  Symptoms unchanged.  I'm afraid I
 don't understand what you mean when you say use /dev/hdd instead.  Do
 you mean I should remove the ide-scsi line I currently have commented
 out and replace it with a line pointing to /dev/hdc?  This doesn't seem
 correct, because the CD-ROM currently works perfectly.  (If it was
 plugged in and the line in /etc/fstab uncommented.)

 HarM:  Are you sure it would be /dev/hdc and not /dev/hdc1?  The HD is
 partitioned into several volumes.  (I have tried mounting /dev/hdc,
 /dev/hdc1, /dev/hdc2, etc. with no change.)  Plus DiskDrake still
 doesn't  show me any tab for /dev/hdc.

Yes, I'm sure...that way you mount the whole disk i.e. all partitions.

 Thanks very much for your help, folks!  Any other suggestions?


 Schof

 On Dec 21, 2003, at 1:52 PM, Derek Jennings wrote:
  On Sunday 21 Dec 2003 9:37 pm, John Schofield wrote:
  I've recently installed Mandrake on an IDE drive (master on primary
  channel).  I have some files I want to get off some other hard drives
  before I wipe them.  I removed my CD-ROM temporarily and cabled the
  IDE
  HD in its place as master on secondary channel.  I started out by
  attempting to mount /dev/hdc1 /mnt/hd2 and get special device
  /dev/hdc1 does not exist.

Which makes me think: Could it be that the cd-rom was a CD-writer?
If so there are probably still lines in lilo (/etc/lilo.conf) like append 
/dev/hdc=ide-scsi.
Remove those lines from /etc/lilo.conf and run lilo (as su/root) to make it 
stick.

Good luck,
HarM


-- 
Registered Linux User #197998
FSF Associate Member #901
ICQ #146191606
Mandrake HowTo's  more: http://twiki.mdklinuxfaq.org



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Trouble mounting HDC

2003-12-21 Thread John Schofield
Thank you, Charlie.  Yes, BIOS detects it no problem.

Schof

On Dec 21, 2003, at 2:32 PM, Charlie Mahan wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Sunday 21 December 2003 3:25 pm, John Schofield wrote:
whack
 Thanks for the quick reply!
HarM:  Are you sure it would be /dev/hdc and not /dev/hdc1?  The HD is
partitioned into several volumes.  (I have tried mounting /dev/hdc,
/dev/hdc1, /dev/hdc2, etc. with no change.)  Plus DiskDrake still
doesn't  show me any tab for /dev/hdc.
Thanks very much for your help, folks!  Any other suggestions?

Schof

Have you run detect in set up (BIOS) before you let the system boot? 
Some
older hardware won't see any new drives unless you do so.

Mandrake is usually very good about detecting new drives but on older 
hardware
with older BIOS the system has to detect the drive first.

Charlie
- --
Edmonton,AB,Canada User #244963 at http://counter.li.org
Mandrake Linux release 9.2 (FiveStar) for i586 kernel 
2.4.22-21.tmb.1mdk
15:29:34 up 1 day, 1:17, 1 user, load average: 0.15, 0.11, 0.09
The bug stops here.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/5h+IZqvqlrLPr5YRAlIGAJ9MyLMcIejOuqPb0MlXmqIaJ5u0lwCfVvjQ
wDwrTFKqbx+XCLQi+tSwQEk=
=hspZ
-END PGP SIGNATURE-
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Trouble mounting HDC

2003-12-21 Thread John Schofield
HarM:  Are you sure it would be /dev/hdc and not /dev/hdc1?  The HD is
partitioned into several volumes.  (I have tried mounting /dev/hdc,
/dev/hdc1, /dev/hdc2, etc. with no change.)  Plus DiskDrake still
doesn't  show me any tab for /dev/hdc.
Yes, I'm sure...that way you mount the whole disk i.e. all partitions.


Ah, good to know.

Which makes me think: Could it be that the cd-rom was a CD-writer?
If so there are probably still lines in lilo (/etc/lilo.conf) like 
append
/dev/hdc=ide-scsi.
Remove those lines from /etc/lilo.conf and run lilo (as su/root) to 
make it
stick.
Yep, that did the trick.  Thanks very much for your help, you nailed 
this one quickly!

Schof


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Trouble mounting HDC

2003-12-21 Thread Derek Jennings
On Sunday 21 Dec 2003 10:25 pm, John Schofield wrote:
 Thanks for the quick reply!

 HarM: Yes, it's cabled as master.  I always welcome idiot-checks.
 {smile}

 derek:  It's ide-scsi.  Which I don't really understand, since it's a
 standard ATA CD-ROM, but I commented-out the line anyway, which didn't
 make a difference after reboot.  Symptoms unchanged.  I'm afraid I
 don't understand what you mean when you say use /dev/hdd instead.  Do
 you mean I should remove the ide-scsi line I currently have commented
 out and replace it with a line pointing to /dev/hdc?  This doesn't seem
 correct, because the CD-ROM currently works perfectly.  (If it was
 plugged in and the line in /etc/fstab uncommented.)

 HarM:  Are you sure it would be /dev/hdc and not /dev/hdc1?  The HD is
 partitioned into several volumes.  (I have tried mounting /dev/hdc,
 /dev/hdc1, /dev/hdc2, etc. with no change.)  Plus DiskDrake still
 doesn't  show me any tab for /dev/hdc.

 Thanks very much for your help, folks!  Any other suggestions?


 Schof
snip

Yes the subject of ide-scsi is a bit confusing to a newbie. Your CD-ROM is of 
course  IDE, but the Linux CD burning backend 'cdrecord' only works with SCSI 
devices. So in order to be able to burn CDs with an IDE CD-RW the kernel 
supports a 'scsi emulation' mode called ide-scsi.

Now you will say this is a CD-ROM not a CD-RW.
If your CD-RW and CD-ROM are both ide-scsi then it is possible to do CD to CD 
copying without having to copy the data to buffer first.
  So that is why Mandrake has configured your CD-ROM as ide-scsi.

If you look at /etc/lilo.conf you will see the definition for your boot sector 
and you will see in the 'append' line hdc=ide-scsi

Rather than mess about with your lilo.conf file I was suggesting you connect 
your hard drive to the IDE secondary slave interface instead. That way it 
will be /dev/hdd and you should find that diskdrake will detect the drive and 
allow you to configure it.

BTW: The new Linux 2.6 kernel dispenses with the concept of ide-scsi so we may 
not see this sort of question for much longer.

derek



-- 
--
www.jennings.homelinux.net
http://twiki.mdklinuxfaq.org


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com