Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Debian GNU/Linux 3.1 r0a "Sarge" - Official i386 B

Ask for help with issues regarding the Installations of the Debian O/S.
Post Reply
Message
Author
punk_baron
Posts: 5
Joined: 2005-09-27 02:34
Location: Auckland-New Zealand
Contact:

Debian GNU/Linux 3.1 r0a "Sarge" - Official i386 B

#1 Post by punk_baron »

Hi all,

I am new to Debian and this forum. I am installing 14 disc 3.1 Debian "Sarge", I install to my 10GB removeable hard drive (9 GB for ext3, 1 GB for swap file,). I tried to configure apt-setup but it asked for device file to access cd-rom. I search all 14 cds but no where saying about that. Which files are the device files? where can I find them on those cds??

ps: with 10GB hard drive, can I install full 14 disc software packages ?

Thanks in advance.

grautu
Posts: 49
Joined: 2005-09-04 16:58

Re: Debian GNU/Linux 3.1 r0a "Sarge" - Official i3

#2 Post by grautu »

punk_baron wrote:I tried to configure apt-setup but it asked for device file to access cd-rom. I search all 14 cds but no where saying about that. Which files are the device files? where can I find them on those cds??
I don't think your machine is asking about your CDs but about the way to access them; I mean files in your system which point to your optical drive(s). Please look into your /dev and your /media directories and post here how do they look like: is there anything suggesting to you about your CD device(s)? Furthermore, do you have a /cdrom directory in your system? Keep in mind that, most likely, your optical drives are named as /dev/hdb or(and) /dev/hdc or(and) /dev/hdd.

User avatar
startx
Posts: 172
Joined: 2004-09-16 12:14
Location: london

#3 Post by startx »

ps: with 10GB hard drive, can I install full 14 disc software packages ?
no, of course you won't do that. apt-setup will just reading the contents of the CDs and when you require a certain package later, it will ask you to insert disc 1, 2or whatever is necessary.
debian squeeze for everyday life, many other versions for the rest

punk_baron
Posts: 5
Joined: 2005-09-27 02:34
Location: Auckland-New Zealand
Contact:

Re: Debian GNU/Linux 3.1 r0a "Sarge" - Official i3

#4 Post by punk_baron »

Here is what I did:

in Debian base system, with root profile, I use "apt-setup". It prompted: "please choose the mothod apt", I then choose cdrom. After that Apt configuration, it said enter the device file to use to access your cd-rom and place debian cd in the drive:

default cd-rom device file:
/dev/cdrom/
I tried /dev/hdb or ../hdc or.../hdd -------->it showed '.../hdb and dev/cdrom/hdx are the same file.
Please look into your /dev and your /media directories and post here how do they look like:
<---- Please show me how do I go about it ?
Furthermore, do you have a /cdrom directory in your system? Keep in mind that, most likely, your optical drives are named as /dev/hdb or(and) /dev/hdc or(and) /dev/hdd
I have a cdrom directory.But nomatter what I type in it wont access the cds.[/quote]

punk_baron
Posts: 5
Joined: 2005-09-27 02:34
Location: Auckland-New Zealand
Contact:

#5 Post by punk_baron »

I use "cat /proc/sys/dev/cdrom/info" then I got:

drive name: hdd
drive speed: 54
drive # of slots: 1

...
can play audio: 1
can write CD-R: 0
...

punk_baron
Posts: 5
Joined: 2005-09-27 02:34
Location: Auckland-New Zealand
Contact:

#6 Post by punk_baron »

Finally i figured it out with device file, it s because of the file permission.

For those who got the same problem with me (cdrom is secondary master):

[image]http://img290.imageshack.us/img290/6770/cdrom6xt.png[/image]

Device files dwell in the /dev directory. They are named this way:
IDE:
hda: primary master HDD
hdb: primary slave
hdc: secondary master
hdd: secondary slave

SCSI / SATA:
sda: first disk
sdb: second disk (and so on)

punk_baron
Posts: 5
Joined: 2005-09-27 02:34
Location: Auckland-New Zealand
Contact:

#7 Post by punk_baron »

Now....I try to install gnome (and kde too) using aptitude, it asked me for disc 3...then it showed:

media error (bad sector)
ending request.....

Does that mean the disc broken ?

User avatar
startx
Posts: 172
Joined: 2004-09-16 12:14
Location: london

#8 Post by startx »

media error (bad sector)
ending request.....
hm, looks like is is, yeah. maybe you just try to clean it.
are you connected to a network. you can easily get all the packages from
the internet.
debian squeeze for everyday life, many other versions for the rest

Post Reply