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

Notices


Reply
  Search this Thread
Old 02-05-2005, 03:28 AM   #1
bruse
Member
 
Registered: Feb 2005
Location: internet
Distribution: Debian
Posts: 821

Rep: Reputation: 30
Red face /dev/ram3 config help me ......


Hi,
i am using mandrake and windows xp .i have problem with lilo . when i try to install grub on /dev/hda have the problem
#grub-install /dev/hda
/dev/ram3 does not have any corresponding BIOS drive....
please help me.....
 
Old 02-05-2005, 05:47 AM   #2
bunnadik
Member
 
Registered: Jan 2005
Location: Övik, Sweden
Distribution: MDK 10.1
Posts: 450

Rep: Reputation: 30
Check your /boot/grub/device.map for any ram3 device and remove it if found.

- Peder
 
Old 02-10-2005, 05:05 AM   #3
bruse
Member
 
Registered: Feb 2005
Location: internet
Distribution: Debian
Posts: 821

Original Poster
Rep: Reputation: 30
sir there is no file in the /boot/grub/ directory .......
then what should i do?
 
Old 02-10-2005, 05:41 AM   #4
bunnadik
Member
 
Registered: Jan 2005
Location: Övik, Sweden
Distribution: MDK 10.1
Posts: 450

Rep: Reputation: 30
Do you have the various "stage" files and menu.lst in /boot/grub?
Check your /etc/fstab for any reference to ram3 and comment that line if found.

You can try installing grub the manual way:
Enter 'grub' to get the grub> prompt
Enter 'root (hdx,y)' where x and y are the same as in the /boot/grub/menu.lst file. You should get a "Filesystem type is..." response.
Enter 'find /boot/grub/stage1' or 'find /grub/stage1' if you have a separate /boot partition. You should get a "(hdx,y)" response.
Enter 'setup (hd0)' to write grub to your MBR.
Enter quit

- Peder
 
Old 02-10-2005, 06:16 AM   #5
bruse
Member
 
Registered: Feb 2005
Location: internet
Distribution: Debian
Posts: 821

Original Poster
Rep: Reputation: 30
yes i have the 3 files menu.lst stage1 and stage 2 .
i use the rescue cd and enter to the console and then
open the menu.lst file it has "hda0,0" type so
#grub
grub>root (hd0,0)
your file system type is vfat and partition type is 0*b
grub>setup (hda0)
checking if "/boot/grub/stage1" exists ..............no
checking if "/grub/stage1 exists .................no
error 15: file not found

and the /etc/fstab file has one line about the /dev/ram3 that is .........

/dev/ram3 ext2 defaults 1 1

these are the errors .......then how to solve...

Last edited by bruse; 02-10-2005 at 06:18 AM.
 
Old 02-10-2005, 06:23 AM   #6
bunnadik
Member
 
Registered: Jan 2005
Location: Övik, Sweden
Distribution: MDK 10.1
Posts: 450

Rep: Reputation: 30
See other post... http://www.linuxquestions.org/questi...hreadid=286486
 
Old 02-10-2005, 06:36 AM   #7
bruse
Member
 
Registered: Feb 2005
Location: internet
Distribution: Debian
Posts: 821

Original Poster
Rep: Reputation: 30
okay sir i done what u said but the same problem will occur
chroot /mnt
grub>setup (hd0,0)
same problem....
grub>setup (hd0)
same problem ......

and then i run the lilo it said

warning : "/proc/partitions/ does not exits disk scan bypassed

and shows the options...
is there any relation between these two.....?
 
Old 02-10-2005, 06:47 AM   #8
bruse
Member
 
Registered: Feb 2005
Location: internet
Distribution: Debian
Posts: 821

Original Poster
Rep: Reputation: 30
sir sorry............the response for
find /boot/grub/stage1

is (hd0,6)
but my menu.lst file having (hd0,0)
 
Old 02-10-2005, 08:44 AM   #9
bunnadik
Member
 
Registered: Jan 2005
Location: Övik, Sweden
Distribution: MDK 10.1
Posts: 450

Rep: Reputation: 30
Quote:
find /boot/grub/stage1is (hd0,6) but my menu.lst file having (hd0,0)
I think you're confusing the menu.lst of the CD and the one on your HD. If the menu-line you're talking about
has a "ramdisk_size=...." entry, then it's the CD's.

If not, that's one major problem, since (in that case) grub tries to load the kernel from your windows partition.

Have you tried the "Re-install bootloader" entry on the rescue CD and specified /dev/hda (as your other post mentioned)?

Also, before you ran 'chroot /mnt' did you run 'mount /dev/hda7' ?
If so, and to make sure everything's OK, you can do a 'ls /home' . You should see your home dir.
If the chroot hasn't worked, you're still on the CD and should get a "No such file..." error.

- Peder
 
  


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
I cannot access EITHER CD drive! And there's no /dev/hdc or /dev/hdd or /dev/cdrom! Dmalic Linux - Hardware 13 11-18-2005 07:11 PM
Kernel config options (/dev, /dev/pts) jrdioko Slackware 5 08-22-2005 01:25 AM
ln: creating symbolic link `/dev/dvd' to `/dev/hdc': Permission denied qazwsx27 Fedora 3 06-14-2005 02:09 PM
How can I boot either one of my hard drives /dev/hda or /dev/hdb, I have RH9 and FC2 omogunkristi Linux - General 1 06-21-2004 05:11 AM
mounting 2 ide-scsi devices /dev/cdrom and /dev/cdrom1 issue penguin123 Linux - Hardware 3 09-26-2003 08:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 03:07 PM.

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