Slackware This Forum is for the discussion of Slackware Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
02-23-2009, 02:13 PM
|
#1
|
|
Member
Registered: Sep 2007
Location: In My Box
Distribution: Arch Linux
Posts: 317
Rep:
|
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.
|
|
|
|
02-23-2009, 02:19 PM
|
#2
|
|
Senior Member
Registered: Apr 2008
Distribution: PCLinux, Ubuntu, Peppermint
Posts: 3,470
|
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?
|
|
|
|
02-23-2009, 02:51 PM
|
#3
|
|
Member
Registered: May 2008
Location: California, USA
Distribution: Ubuntu 8.10
Posts: 247
Rep:
|
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.
|
|
|
|
02-24-2009, 07:39 AM
|
#4
|
|
Member
Registered: Sep 2007
Location: In My Box
Distribution: Arch Linux
Posts: 317
Original Poster
Rep:
|
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
|
|
|
|
02-24-2009, 07:51 AM
|
#5
|
|
Member
Registered: May 2008
Location: California, USA
Distribution: Ubuntu 8.10
Posts: 247
Rep:
|
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.
|
|
|
|
02-24-2009, 08:33 AM
|
#6
|
|
Member
Registered: Sep 2007
Location: In My Box
Distribution: Arch Linux
Posts: 317
Original Poster
Rep:
|
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...
|
|
|
|
02-25-2009, 07:06 AM
|
#7
|
|
Member
Registered: Sep 2007
Location: In My Box
Distribution: Arch Linux
Posts: 317
Original Poster
Rep:
|
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...
|
|
|
|
02-25-2009, 07:17 AM
|
#8
|
|
Member
Registered: May 2008
Location: California, USA
Distribution: Ubuntu 8.10
Posts: 247
Rep:
|
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.
|
|
|
|
02-25-2009, 07:41 AM
|
#9
|
|
Member
Registered: Sep 2007
Location: In My Box
Distribution: Arch Linux
Posts: 317
Original Poster
Rep:
|
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 07:44 AM.
|
|
|
|
02-25-2009, 07:51 AM
|
#10
|
|
Member
Registered: May 2008
Location: California, USA
Distribution: Ubuntu 8.10
Posts: 247
Rep:
|
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:
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.
|
|
|
|
02-25-2009, 08:01 AM
|
#11
|
|
Member
Registered: Sep 2007
Location: In My Box
Distribution: Arch Linux
Posts: 317
Original Poster
Rep:
|
This is the results from live cd...nothing ..
http://pastebin.com/f245253a9
|
|
|
|
02-25-2009, 08:07 AM
|
#12
|
|
Member
Registered: Sep 2007
Location: In My Box
Distribution: Arch Linux
Posts: 317
Original Poster
Rep:
|
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
|
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 08:40 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|