LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-17-2004, 03:31 AM   #1
grayhound
LQ Newbie
 
Registered: Jul 2004
Posts: 3

Rep: Reputation: 0
Pooched MBR trying to turn DMA on


I'm running Debian (kernel 2.4.21) on a Dell Optiplex GX Pro and know just enough to be very dangerous.

The disk seemed a bit sluggish, so after a little research, I tried turning on DMA on the boot drive with:
hdparm -d1 /dev/hda

Things were OK immediately afterwards. hdparm -Tt showed a 50% improvement. I made happy noises.

Shutdown and now won't boot. After BIOS messages, it sits at a text-mode GRUB message (not a prompt - system is unresponsive; not the GRUB menu - just the words GRUB).

This system won't boot from floppy or CD, so I'm hosed.

Hoping to recover all the filesystems on the disk. I was thinking I would pop the drive into another machine running the same distro and try doing a grub-install.

Good idea? If not, any other suggestions?

Will the drive "remember" it's set to DMA?

Thanks in advance for any advice!

john
 
Old 07-17-2004, 02:37 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
"Will the drive "remember" it's set to DMA? "

No. Rebooting will clear that.

"Hoping to recover all the filesystems on the disk. I was thinking I would pop the drive into another machine running the same distro and try doing a grub-install.

Good idea? If not, any other suggestions?"

It is easier to use a rescue CD.

Boot a rescue CD. If it is knoppix then umount your / partition after you boot. Other rescue CDs don't have to be umount the / partition. Assuming that your / partition is /dev/hda3 and the file system type is ext3 then do:
umount /dev/hda3

fsck -t ext3 /dev/hda3
Answer y to everything that fsck asks.

mkdir /horse
mount -t ext3 /dev/hda3 /horse
chroot /horse
grub-install /dev/hda
shutdown -r now


-----------------------------
Steve Stites
 
Old 07-20-2004, 01:02 AM   #3
grayhound
LQ Newbie
 
Registered: Jul 2004
Posts: 3

Original Poster
Rep: Reputation: 0
Follow up

Jailbait - thanks for the suggestions.

Multiple problems compounded the original one. I spent the last couple days rebuilding the system.

Just wanted to let you know I appreciated the help.
 
  


Reply



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
Can't Turn DMA On Optimistic Debian 8 10-17-2005 06:59 PM
Yes, but, how do I turn on DMA for DVD ROM? hitheringwaters MEPIS 13 06-03-2005 05:58 AM
kernel 2.6.8.1 dma turn off cb951303 Slackware 12 09-05-2004 03:20 PM
how to turn on hd dma acceleration jasonmantey Linux - Newbie 11 08-23-2004 12:25 PM
how to turn off dma for harddisk? bejamex Linux - Newbie 1 06-13-2003 11:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:01 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration