LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 02-23-2009, 03:13 PM   #1
netpumber
Member
 
Registered: Sep 2007
Location: In My Box
Distribution: Arch Linux
Posts: 338

Rep: Reputation: 31
Grub error with hdd rack


So this is the story...

I have 320 gb sata for file system
500 gb for files

and when im going to plug in a rack with ide hdd it gives me this error while booting

Quote:
GRUB loading stage 1.5.


GRUB loading...
Error 15
Any ideas on how to make it recognize the hdd? all hdds are western digital one master and the two others slave.
 
Old 02-23-2009, 03:19 PM   #2
yancek
Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 5,112

Rep: Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816
Which distribution of Linux are you using?

You have the OS files on the 320GB drive, where did you install Grub. To that drive? The mbr of that drive? The root partition of that drive?
 
Old 02-23-2009, 03:51 PM   #3
CJS
Member
 
Registered: May 2008
Location: California, USA
Distribution: Ubuntu 8.10
Posts: 247

Rep: Reputation: 49
In order to get a clearer picture of your setup, how about downloading the Boot Info Script to your desktop, and then do the following as root user, but replace <username> with your user name:
Code:
bash /home/<username>/Desktop/boot_info_script*.sh
That will create a "RESULTS.txt" file in the same directory from where the script is run, namely your desktop; please copy/paste the contents of the RESULTS.txt file to your next post. That will help clarify your setup and hopefully what the solution to your problem might be.
 
Old 02-24-2009, 08:39 AM   #4
netpumber
Member
 
Registered: Sep 2007
Location: In My Box
Distribution: Arch Linux
Posts: 338

Original Poster
Rep: Reputation: 31
This is the result:

Quote:
============================= Boot Info Summary: ==============================

=> Lilo is installed in the MBR of /dev/sda
=> Windows is installed in the MBR of /dev/sdb

sda1: _________________________________________________________________________

File system: swap
Boot sector type: -
Boot sector info:

sda2: _________________________________________________________________________

File system: ext3
Boot sector type: -
Boot sector info:
Operating System: Welcome to ()
Boot files/dirs: /etc/fstab /etc/lilo.conf /boot/map

sda3: _________________________________________________________________________

File system: lvm2pv
Boot sector type: -
Boot sector info:
Mounting failed:
mount: unknown filesystem type 'lvm2pv'

sdb1: _________________________________________________________________________

File system: ext3
Boot sector type: -
Boot sector info:
Operating System:
Boot files/dirs:

=========================== Drive/Partition Info: =============================

Drive: sda ___________________ _____________________________________________________

Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x06706357

Partition Boot Start End Size Id System

/dev/sda1 63 1,992,059 1,991,997 82 Linux swap / Solaris
/dev/sda2 1,992,060 21,992,984 20,000,925 83 Linux
/dev/sda3 21,992,985 625,137,344 603,144,360 8e Linux LVM


Drive: sdb ___________________ _____________________________________________________

Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x076f5e24

Partition Boot Start End Size Id System

/dev/sdb1 63 976,768,064 976,768,002 83 Linux


blkid -c /dev/null: ____________________________________________________________

/dev/sda1: TYPE="swap" UUID="0a80c203-0a33-43b7-bdea-a0798d5f1620"
/dev/sda2: UUID="c033ff11-16e9-41c7-b458-9cb3c282b437" TYPE="ext3"
/dev/sda3: UUID="AP3mxf-6nAz-4cnb-skW8-UsOn-ZeIy-8wX573" TYPE="lvm2pv"
/dev/sdb1: UUID="6e4f3a5d-2dbd-478c-86c9-5fbb9f38b57c" TYPE="ext3"
/dev/mapper/slackvg-usr: UUID="28d01ff0-18a7-4d85-a214-e26c1412f7ad" TYPE="ext3"
/dev/mapper/slackvg-home: UUID="7eac28b4-2154-4e2e-bfa3-0520c08e7870" TYPE="ext3"

=============================== "mount" output: ===============================

/dev/root on / type ext3 (rw,errors=continue,data=ordered)
/proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/mapper/slackvg-home on /home type ext3 (rw)
/dev/mapper/slackvg-usr on /usr type ext3 (rw)
tmpfs on /dev/shm type tmpfs (rw)
/dev/sdb1 on /media/disk type ext3 (rw)


=============================== sda2/etc/fstab: ===============================

/dev/sda1 swap swap defaults 0 0
/dev/sda2 / ext3 defaults 1 1
/dev/slackvg/home /home ext3 defaults 1 2
/dev/slackvg/usr /usr ext3 defaults 1 2
#/dev/cdrom /mnt/cdrom auto noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
/dev/sdb1 /media/disk ext3 defaults 1 2

============================= sda2/etc/lilo.conf: =============================

# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
# Append any additional kernel parameters:
append=" vt.default_utf8=0"
boot = /dev/sda

# Boot BMP Image.
# Bitmap in BMP format: 640x480x8
bitmap = /boot/slack.bmp
# Menu colors (foreground, background, shadow, highlighted
# foreground, highlighted background, highlighted shadow):
bmp-colors = 255,0,255,0,255,0
# Location of the option table: location x, location y, number of
# columns, lines per column (max 15), "spill" (this is how many
# entries must be in the first column before the next begins to
# be used. We don't specify it here, as there's just one column.
bmp-table = 60,6,1,16
# Timer location x, timer location y, foreground color,
# background color, shadow color.
bmp-timer = 65,27,0,255

# Standard menu.
# Or, you can comment out the bitmap menu above and
# use a boot message with the standard menu:
#message = /boot/boot_message.txt

# Wait until the timeout to boot (if commented out, boot the
# first entry immediately):
prompt
# Timeout before the first entry boots.
# This is given in tenths of a second, so 600 for every minute:
timeout = 10
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
# Normal VGA console
vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/sda2
label = Linux
read-only
# Linux bootable partition config ends

=================== sda2: Location of files loaded by Grub: ===================


7.4GB: boot/vmlinuz
7.4GB: boot/vmlinuz-generic-2.6.27.7
7.3GB: boot/vmlinuz-generic-smp-2.6.27.7-smp
7.3GB: boot/vmlinuz-huge-2.6.27.7
7.4GB: boot/vmlinuz-huge-smp-2.6.27.7-smp
=======Devices which don't seem to have a corresponding hard drive==============

hdc
i use slackware 12.2
 
Old 02-24-2009, 08:51 AM   #5
CJS
Member
 
Registered: May 2008
Location: California, USA
Distribution: Ubuntu 8.10
Posts: 247

Rep: Reputation: 49
According to the script results, your 320 GB sda drive is using lilo to boot, and your 500 GB sdb drive has a Windows MBR (not Grub); so I don't understand where you are getting a Grub error from. Are there any other drives present on start up that might have Grub in their MBR? I think if you make sure your 320 GB slackware drive is first in the BIOS boot order, you shouldn't have any more problems. Let me know how that goes.
 
Old 02-24-2009, 09:33 AM   #6
netpumber
Member
 
Registered: Sep 2007
Location: In My Box
Distribution: Arch Linux
Posts: 338

Original Poster
Rep: Reputation: 31
Maybe the hdd in rack has a grub cuz last year i had installed linux there...I ll check the bios later cuz now im going for lesson...
 
Old 02-25-2009, 08:06 AM   #7
netpumber
Member
 
Registered: Sep 2007
Location: In My Box
Distribution: Arch Linux
Posts: 338

Original Poster
Rep: Reputation: 31
So...here i am...back...In bios a can't put for first boot device the sda(320GB) HDD.The BIOS can see only the hdd in the rack when i plug it in...Also 500 GB sdb drive has Windows MBR. Is there any way to change this from its MBR or something else to make the rack hdd work..? Im confused...:S:S Thanx once again...
 
Old 02-25-2009, 08:17 AM   #8
CJS
Member
 
Registered: May 2008
Location: California, USA
Distribution: Ubuntu 8.10
Posts: 247

Rep: Reputation: 49
Did you have your HDD rack connected when you ran the script in post #4? It doesn't look like it, because the script only showed your 320 GB and 500 GB drives. How about plugging in your rack HDD, boot a Live CD, run the script from the Live CD, and post the output. Also, since you can't change your BIOS boot order, we will need to know what boot order the HDDs are in when you connect the HDD in the rack. To figure that out, how about downloading the Super Grub Disk, boot that, and at the first main menu press "c" to get the command line, and do:
Code:
grub> geometry (hd0)
grub> geometry (hd1)
grub> geometry (hd2)
And please let me know what the output of those commands is. We can work from there.
 
Old 02-25-2009, 08:41 AM   #9
netpumber
Member
 
Registered: Sep 2007
Location: In My Box
Distribution: Arch Linux
Posts: 338

Original Poster
Rep: Reputation: 31
This is the output with the hdd pluged in in the rack..but seems the same but without the live cd...I ll check it now....Wait...

Quote:
============================= Boot Info Summary: ==============================

=> Lilo is installed in the MBR of /dev/sda
=> Windows is installed in the MBR of /dev/sdb

sda1: _________________________________________________________________________

File system: swap
Boot sector type: -
Boot sector info:

sda2: _________________________________________________________________________

File system: ext3
Boot sector type: -
Boot sector info:
Operating System: Welcome to ()
Boot files/dirs: /etc/fstab /etc/lilo.conf /boot/map

sda3: _________________________________________________________________________

File system: lvm2pv
Boot sector type: -
Boot sector info:
Mounting failed:
mount: unknown filesystem type 'lvm2pv'

sdb1: _________________________________________________________________________

File system: ext3
Boot sector type: -
Boot sector info:
Operating System:
Boot files/dirs:

=========================== Drive/Partition Info: =============================

Drive: sda ___________________ _____________________________________________________

Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x06706357

Partition Boot Start End Size Id System

/dev/sda1 63 1,992,059 1,991,997 82 Linux swap / Solaris
/dev/sda2 1,992,060 21,992,984 20,000,925 83 Linux
/dev/sda3 21,992,985 625,137,344 603,144,360 8e Linux LVM


Drive: sdb ___________________ _____________________________________________________

Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x076f5e24

Partition Boot Start End Size Id System

/dev/sdb1 63 976,768,064 976,768,002 83 Linux


blkid -c /dev/null: ____________________________________________________________

/dev/sda1: TYPE="swap" UUID="0a80c203-0a33-43b7-bdea-a0798d5f1620"
/dev/sda2: UUID="c033ff11-16e9-41c7-b458-9cb3c282b437" TYPE="ext3"
/dev/sda3: UUID="AP3mxf-6nAz-4cnb-skW8-UsOn-ZeIy-8wX573" TYPE="lvm2pv"
/dev/sdb1: UUID="6e4f3a5d-2dbd-478c-86c9-5fbb9f38b57c" TYPE="ext3"
/dev/mapper/slackvg-usr: UUID="28d01ff0-18a7-4d85-a214-e26c1412f7ad" TYPE="ext3"
/dev/mapper/slackvg-home: UUID="7eac28b4-2154-4e2e-bfa3-0520c08e7870" TYPE="ext3"

=============================== "mount" output: ===============================

/dev/root on / type ext3 (rw,errors=continue,data=ordered)
/proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/mapper/slackvg-home on /home type ext3 (rw)
/dev/mapper/slackvg-usr on /usr type ext3 (rw)
tmpfs on /dev/shm type tmpfs (rw)
/dev/sdb1 on /media/disk type ext3 (rw)


=============================== sda2/etc/fstab: ===============================

/dev/sda1 swap swap defaults 0 0
/dev/sda2 / ext3 defaults 1 1
/dev/slackvg/home /home ext3 defaults 1 2
/dev/slackvg/usr /usr ext3 defaults 1 2
#/dev/cdrom /mnt/cdrom auto noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
/dev/sdb1 /media/disk ext3 defaults 1 2

============================= sda2/etc/lilo.conf: =============================

# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
# Append any additional kernel parameters:
append=" vt.default_utf8=0"
boot = /dev/sda

# Boot BMP Image.
# Bitmap in BMP format: 640x480x8
bitmap = /boot/slack.bmp
# Menu colors (foreground, background, shadow, highlighted
# foreground, highlighted background, highlighted shadow):
bmp-colors = 255,0,255,0,255,0
# Location of the option table: location x, location y, number of
# columns, lines per column (max 15), "spill" (this is how many
# entries must be in the first column before the next begins to
# be used. We don't specify it here, as there's just one column.
bmp-table = 60,6,1,16
# Timer location x, timer location y, foreground color,
# background color, shadow color.
bmp-timer = 65,27,0,255

# Standard menu.
# Or, you can comment out the bitmap menu above and
# use a boot message with the standard menu:
#message = /boot/boot_message.txt

# Wait until the timeout to boot (if commented out, boot the
# first entry immediately):
prompt
# Timeout before the first entry boots.
# This is given in tenths of a second, so 600 for every minute:
timeout = 10
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
# Normal VGA console
vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/sda2
label = Linux
read-only
# Linux bootable partition config ends

=================== sda2: Location of files loaded by Grub: ===================


7.4GB: boot/vmlinuz
7.4GB: boot/vmlinuz-generic-2.6.27.7
7.3GB: boot/vmlinuz-generic-smp-2.6.27.7-smp
7.3GB: boot/vmlinuz-huge-2.6.27.7
7.4GB: boot/vmlinuz-huge-smp-2.6.27.7-smp
=======Devices which don't seem to have a corresponding hard drive==============

hdc

Last edited by netpumber; 02-25-2009 at 08:44 AM.
 
Old 02-25-2009, 08:51 AM   #10
CJS
Member
 
Registered: May 2008
Location: California, USA
Distribution: Ubuntu 8.10
Posts: 247

Rep: Reputation: 49
It looks like you've first got to get your Live CD to see the HDD rack when it is connected, because currently whichever Live CD you used did not even detect any other drives than your sda/sdb drives. You can always check which HDDs linux sees by doing:
Code:
sudo fdisk -lu
So you probably need to change your BIOS settings for the rack HDD, but until you can get the rack HDD even recognized in linux, it doesn't seem like there is much point to even having it hooked up if it is inaccessible. You might want to also check the jumper settings on the HDDs in the rack.
 
Old 02-25-2009, 09:01 AM   #11
netpumber
Member
 
Registered: Sep 2007
Location: In My Box
Distribution: Arch Linux
Posts: 338

Original Poster
Rep: Reputation: 31
This is the results from live cd...nothing ..

http://pastebin.com/f245253a9
 
Old 02-25-2009, 09:07 AM   #12
netpumber
Member
 
Registered: Sep 2007
Location: In My Box
Distribution: Arch Linux
Posts: 338

Original Poster
Rep: Reputation: 31
So...listen at this...I press F8 at booting and select 320G hdd to boot and it boot perfect...Now i can se and the rack hdd but i have to correct it from BIOS..not to have always F8 :P

Quote:
Disk /dev/hdd: 10.1 GB, 10110320640 bytes
255 heads, 63 sectors/track, 1229 cylinders, total 19746720 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x0003da09

Device Boot Start End Blocks Id System
/dev/hdd1 63 19743884 9871911 83 Linux

Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x06706357

Device Boot Start End Blocks Id System
/dev/sda1 63 1992059 995998+ 82 Linux swap
/dev/sda2 1992060 21992984 10000462+ 83 Linux
/dev/sda3 21992985 625137344 301572180 8e Linux LVM

Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x076f5e24

Device Boot Start End Blocks Id System
/dev/sdb1 63 976768064 488384001 83 Linux
 
  


Reply

Tags
error, grub, hdd, ide


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
Hdd IDE Rack netpumber Linux - Hardware 24 01-11-2009 02:35 PM
GRUB error 21 when trying to boot XP after installing Ubuntu 7.04 on seperate hdd neilksos Linux - Newbie 16 05-05-2008 09:07 AM
GRUB error 5 when I try to connect new SATA HDD mhg Linux - Newbie 8 08-11-2007 09:12 AM
Error Grub stage2 loading error (using FC6) on seperate hdd Anifield Linux - Newbie 7 03-20-2007 02:14 PM
Grub HDD Error, boots if you turn off & on?????? gazingdown Linux - General 3 08-22-2003 01:09 PM


All times are GMT -5. The time now is 10:05 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration