LinuxQuestions.org
Visit Jeremy's Blog.
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 01-28-2009, 03:09 PM   #1
vinnywrite
Member
 
Registered: Jan 2007
Location: lexington NC.
Distribution: Ultimalinux 8.4 & Slackware 12.0.0
Posts: 82

Rep: Reputation: 16
IDE detected as sda?


Hay all

I was wandering why mandriva 2009 one livecd (and 2009free DVD)see all my IDE drives as sda1,2,3 and sdb1,2,3 insted of hda, hdc, ??

this seamed to create a prob. when I installed 2009-free to one of my partition's without grub and then edited my curent /boot/grub/menu.list to point to the install.

when I used /dev/sdb7 ( whare the text installer sead it was installing to ((the grafical installer couldent resalve X right))-- grub would not find a sdb and when I used /dev/hdc7 (where it realey is)

it would start to load then kernel panick not being abel to find vmlinuz.

the livecd would do X fine and it lookes real nice.
It ran ok as livecd so I'm shure it would do fine installed even on my old hardware

BUT I would like some advice on resalving the hda,sda prob. first so it might go a little smoother :lol:

thanks
 
Old 01-28-2009, 03:38 PM   #2
pljvaldez
Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Squeeze (x86)
Posts: 6,092

Rep: Reputation: 269Reputation: 269Reputation: 269
I believe that all drives fall under the /dev/sda,b,c etc after linux kernel 2.6.26. It's not really Mandriva specific.
 
Old 01-28-2009, 03:50 PM   #3
vinnywrite
Member
 
Registered: Jan 2007
Location: lexington NC.
Distribution: Ultimalinux 8.4 & Slackware 12.0.0
Posts: 82

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by pljvaldez View Post
I believe that all drives fall under the /dev/sda,b,c etc after linux kernel 2.6.26. It's not really Mandriva specific.
well ok

I'll try agin with the livecd this time and post back with exact output of my /boot/grub/menu.list if I have the prob agin!
 
Old 01-28-2009, 08:15 PM   #4
vinnywrite
Member
 
Registered: Jan 2007
Location: lexington NC.
Distribution: Ultimalinux 8.4 & Slackware 12.0.0
Posts: 82

Original Poster
Rep: Reputation: 16
OK hear we are!!!

I instaled mandriva 2009 one livecd to /dev/sdb6 as the livecd sees it withought a bootloader.

hear are my disks as my working linux sees it (ultimalinux 8.4) using parted!

bash-3.1# parted
GNU Parted 1.8.8
Using /dev/hda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print all
print all
Model: Maxtor 6Y060L0 (ide)
Disk /dev/hda: 61.5GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
1 32.3kB 8701MB 8701MB primary ntfs boot
2 8701MB 29.7GB 21.0GB primary fat32 lba
3 29.7GB 61.5GB 31.8GB extended lba
5 29.7GB 61.5GB 31.8GB logical fat32


Model: WDC WD400BB-00DEA0 (ide)
Disk /dev/hdc: 40.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
1 7741kB 40.0GB 40.0GB extended boot, lba
8 8258kB 13.0GB 13.0GB logical xfs
5 13.0GB 13.6GB 666MB logical linux-swap
6 13.6GB 22.2GB 8516MB logical xfs
7 22.2GB 40.0GB 17.9GB logical ext2


(parted)


partition /dev/hdc6 is whare Mandriva went to!


I reinstald grub FROM my working linux and hears that!


# GRUB configuration file '/boot/grub/menu.lst'.
# generated by 'grubconfig'. Wed 28 Jan 2009 08:39:31 PM EST
#
# The backup copy of the MBR for drive '/dev/hda' is
# here '/boot/grub/mbr.hda.4135'. You can restore it like this.
# dd if=mbr.hda.4135 of=/dev/hda bs=512 count=1
#
# Start GRUB global section
#timeout 30
#color light-gray/blue black/light-gray
splashimage /boot/grub/splashimage.xpm.gz
# End GRUB global section
# Other bootable partition config begins
title XP on (/dev/hda1)
rootnoverify (hd0,0)
makeactive
chainloader +1
# Other bootable partition config ends
# Linux bootable partition config begins
title Mandriva on (/dev/hdc6)
root (hd1,5)
kernel /boot/vmlinuz root=/dev/hdc6 ro vga=normal
# Linux bootable partition config ends
# Linux bootable partition config begins
title Ultima on (/dev/hdc8)
root (hd1,7)
kernel /boot/vmlinuz root=/dev/hdc8 ro vga=normal
# Linux bootable partition config ends
title --- For help press 'c', type: 'help'
root (hd0)
title --- For usage examples, type: 'cat /boot/grub/grub.txt'
root (hd0)

The curent grub is instaled to the MBR with the config files on /dev/hdc8/boot/grub

trying to boot the Mandriva entry in grub produces this!

Kernel Panick-not syncing:VFS:unable to mount root fs on unknown-block(0,0)

so what should I do????
 
Old 01-29-2009, 04:14 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,522

Rep: Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503
Quote:
# Linux bootable partition config begins
title Mandriva on (/dev/hdc6)
root (hd1,5)
kernel /boot/vmlinuz root=/dev/hdc6 ro vga=normal
# Linux bootable partition config ends
* The id for a partition must be the same as in /etc/fstab,
please check your fstab.

*Example M 2009 on sda11

Quote:
menulist

title linux
kernel (hd0,10)/boot/vmlinuz BOOT_IMAGE=linux root=UUID=debb8435-8c83-4592-9694-478b15d1637f resume=UUID=2a1d9fcf-0649-44f1-b353-fdff0475bb6f splash=silent vga=788
initrd (hd0,10)/boot/initrd.img

fstab

# Entry for /dev/sda11 :
UUID=debb8435-8c83-4592-9694-478b15d1637f / jfs defaults 1 1

# Entry for /dev/sda5 :
UUID=2a1d9fcf-0649-44f1-b353-fdff0475bb6f swap swap defaults 0 0
*Example M 2008 on sda9
Quote:
menulist

title linux
kernel (hd0,8)/boot/vmlinuz BOOT_IMAGE=linux root=UUID=d242c0b6-4077-11dd-81e1-1b0a367fac91 resume=/dev/sda6 splash=silent vga=788
initrd (hd0,8)/boot/initrd.img

fstab

# Entry for /dev/sda9 :
UUID=d242c0b6-4077-11dd-81e1-1b0a367fac91 / ext3 relatime 1 1

# Entry for /dev/sda6 :
UUID=b58aa210-04d7-47f6-b43c-a94b55df8150 swap swap defaults 0 0
*Example using grub ( can be run from another Linux on another
partition or from a live cd )

Code:
# grub
grub> find /boot/grub/stage1

grub> root (hd2,5)

grub> setup (hd2,5)
....
Try starting with a grub install to "superblock" which is
the begin of e.g. sdc6, in order not to mess up the grub,
you have in MBR.

Then you can boot into Mandrive using "Smart Boot Manager"
from a floppy or cd to see if things work.
( I use "Smart Boot Manager" in MBR to boot into these 10
Linux's on each computer ... never edit any grub, menu.list !! )
( "Smart Boot Manager" is "self editing", automatically finding new
installs with a push on a botton. )
http://www.google.dk/search?hl=da&q=...0&oq=smart+boo
http://linux.simple.be/tools/sbm
http://btmgr.sourceforge.net/download.html
....

Last edited by knudfl; 01-29-2009 at 04:18 AM.
 
Old 01-29-2009, 06:45 PM   #6
vinnywrite
Member
 
Registered: Jan 2007
Location: lexington NC.
Distribution: Ultimalinux 8.4 & Slackware 12.0.0
Posts: 82

Original Poster
Rep: Reputation: 16
well it seams as though all I had to do was edit /boot/grub/menu.list like this.


Code:
title Mandriva 
root (hd1,5)
kernel /boot/vmlinuz 
initrd (hd1,5)/boot/initrd.img
and it boot's now

the UUID stuff resalted in grub complaning about unrecognised device strings.

BUT now when you log in it gets to the desktop and then blinks out and back to the login screen maby once mabey 3-4 times befor it takes??

and trying to close the window in the desktop that's labeld desktop with the 2 icons for joining Manderiva and upgrad to plus coses a crash in the plasma desktop when you try to close it??

it mite be to mutch for my old box!!

 
  


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
IDE DVDROMS not detected in FC9 Leon_Amirreza Linux - Hardware 5 07-25-2008 03:09 PM
IDE DVDROMS not detected in FC9 Leon_Amirreza Fedora 3 07-24-2008 05:58 PM
Why does FC 7/8 install IDE drives as /dev/sda? grgoffe Fedora 12 12-25-2007 05:00 AM
IDE tape drive not being detected bkesting Linux - Hardware 5 09-21-2006 04:59 PM
IDE Bus speed not detected podollb Linux - Hardware 7 10-21-2003 06:23 PM


All times are GMT -5. The time now is 12:32 AM.

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