LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 08-23-2007, 02:20 PM   #1
Daws
Member
 
Registered: May 2006
Location: UK
Distribution: Debian, Linux From Scratch
Posts: 416
Blog Entries: 1

Rep: Reputation: 32
DVD Drive Weirdness - Debian (possibly grub) makes my dvd drive disappear


Fairly odd problem from where I'm standing, but here goes:

I bought a new laptop, I installed XP, leaving some space for Debian. Everything is great. No problems.

I install Debian, using a netinstall cd. Everything goes fine.

I boot Debian. I have no dvd drive (I think: meh, no biggie, I'll fix it later). There is no device for it, maybe udev is not doing it's job? (it should be /dev/scd0 according to the /etc/fstab the installer left there). Everything else on Debian is still ok though.

Now for the weird bit: I boot XP and the DVD drive has disappeared here too... Does anyone else think that is a bit weird?

I tried lots of things on both OSes to make it reappear, but it did no good. I have reinstalled three times now. XP and the DVD drive are fine, until the moment I boot Debian, which still can't read the dvd drive.

The laptop can still boot live cds, install cds etc and the bios knows that it is there.

At no time does Debian have access to the ntfs partition, which is why I have a theory that grub is somehow involved...

Anyway I am wondering if anyone else has had or heard of grub messing with dvd drives for either OS?
 
Old 08-24-2007, 05:41 AM   #2
mikieboy
Member
 
Registered: Apr 2004
Location: Warrington, Cheshire, UK
Distribution: Linux Mint 12 LXDE
Posts: 555

Rep: Reputation: 33
Weird! GRUB can of course change these things. Back in Sarge with a 2.4 kernel I used the boot parameter hdc=ide-scsi in GRUB to get my DVD drive working. This is deprecated in the 2.6 kernel. You could check to make sure you don't have any strange boot parameters. However, I fail to see how that would affect XP. If I can find anything more useful I'll post back.
 
Old 08-24-2007, 05:50 AM   #3
knobby67
Member
 
Registered: Mar 2006
Posts: 545

Rep: Reputation: 42
Same happened to me with an Acer laptop, the odd thing was I went to show someone about a week later and it had magically reappered. I'm still not sure if it was a hardware issue, some line not quite connected correctly?
 
Old 08-24-2007, 08:48 AM   #4
mikieboy
Member
 
Registered: Apr 2004
Location: Warrington, Cheshire, UK
Distribution: Linux Mint 12 LXDE
Posts: 555

Rep: Reputation: 33
Do you have a SATA drive? It seems that GRUB has some issues with SATA, especially if there is a PATA drive on the same system (see link below).

http://linuxgazette.net/141/anonymous.html
 
Old 08-26-2007, 09:35 AM   #5
Daws
Member
 
Registered: May 2006
Location: UK
Distribution: Debian, Linux From Scratch
Posts: 416
Blog Entries: 1

Original Poster
Rep: Reputation: 32
Thank you for the replies. I have fixed the problem now. Special thanks to mikieboy for the SATA/PATA tip. As it turns out the hard drive is SATA while the DVD drive in question is a regular ATAPI PATA. Your tip lead me down the yellow brick road as it were.

The problem it seems is with GRUB. This particular drive along with other similar drives available with laptops has a problem communicating with the BIOS or something. GRUB2 has the same problem. No matter what I do GRUB and GRUB2 cannot do the job...sigh.

The solution is to use LILO, the drive now works in both Windows and Debian, which is a shame because I really don't like LILO.

Thanks again.
 
Old 08-26-2007, 10:10 AM   #6
makuyl
Senior Member
 
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 53
Did you try removing a possible entry for the drive in /boot/grub/device.map
 
Old 08-26-2007, 11:50 AM   #7
Daws
Member
 
Registered: May 2006
Location: UK
Distribution: Debian, Linux From Scratch
Posts: 416
Blog Entries: 1

Original Poster
Rep: Reputation: 32
Yes, I came across that possible solution while I was trying to get it to work. However the only entry that was ever in device.map was:

Code:
(hd0)   /dev/sda
...the SATA hard disk. So I left it as it was.
 
Old 08-26-2007, 03:10 PM   #8
makuyl
Senior Member
 
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 53
Oh well, have a shot at this perhaps: http://www.thinkwiki.org/wiki/Proble...not_recognized
 
Old 08-26-2007, 05:50 PM   #9
Daws
Member
 
Registered: May 2006
Location: UK
Distribution: Debian, Linux From Scratch
Posts: 416
Blog Entries: 1

Original Poster
Rep: Reputation: 32
hehe... I found that page too. Google to the rescue...or not. Unfortunately that did not work either.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Grub to boot DVD drive dillybat Linux - Desktop 5 09-06-2007 11:34 PM
which DVD player can play DVD from hard drive *and* support DVD Menu ? tho_x_tran Linux - Software 16 11-16-2006 03:00 PM
DVD Drive not working, Debian, 2.6.8 kernel ezuk Linux - Hardware 6 10-10-2004 05:51 PM
CD/DVD drive not working on Debian Sarge lussumo Linux - Hardware 4 07-28-2004 09:01 PM


All times are GMT -5. The time now is 12:36 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration