Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
06-24-2003, 08:18 PM
|
#1
|
LQ Newbie
Registered: Jun 2003
Posts: 6
Rep:
|
boot problems .... drat!
Hello,
I am new to Linux, and I have been playing around with installing RH 9. I have an Intel box with an Adaptec SCSI card attached to an external array of drives (6 9 gig HP's). It seems pretty unstable, and I am not sure what I'm doing wrong.
I had the install "autopartion". The partions spread themselves out over the drives and the system came up. I let it run all day ... then when I checked later the system power was off, but its in a UPS and I didnt get a hit all day (my other systems were fine)
Bringing it back up all the harddrives were found but on booting i got a bunch of binary junk characters. I figured, whatever, im just learning so i reloaded (on only one drive this time) I got the same junk characters on power up. Ive reloaded several times trying to get it right, and this has never happened before (and i dont know what to look for if reloading wont fix it) I did just boot from floppy, and my system came up.
My ultimate goal is to turn the array into raid and move the boot partition into the array. Ive read about it, but id settle to just be able to boot up without a problem from the harddrives, not the floppy.
ps, i did boot the original installation right from the harddrives. i also removed an ide drive. it sure didnt like when i mixed up scsi and ide.
Thanks!
|
|
|
06-24-2003, 11:05 PM
|
#2
|
Member
Registered: Oct 2002
Location: wisconsin -- The Badger state
Distribution: gentoo
Posts: 654
Rep:
|
if you can get into the system then try typing in /sbin/lilo in the console this should rerun lilo and if its a boot manager problem fix it
|
|
|
06-25-2003, 11:23 AM
|
#3
|
LQ Newbie
Registered: Jun 2003
Posts: 6
Original Poster
Rep:
|
what if it is GNU, should that be the same? I went to /sbin and there is a lilo file. I execute it and it says /etc/lilo.conf file does not exist. i looked in the lilo file (it wasnt a link) and it has a lot of nasty looking binary characters and messages (that get variables, so its not like a log, but a runtime thing, not sure if that means anything).
Any idea on a next step. I can still boot from floppy, but going to the scsi harddrive just dumps some junk to the screen and hangs.
|
|
|
06-25-2003, 12:18 PM
|
#4
|
Member
Registered: Apr 2003
Location: Juneau, Alaska
Posts: 251
Rep:
|
"man lilo.conf" will give you some information on creating a lilo.conf file. Then run /sbin/lilo as root to get it working. It's been a while since I read through that man page but it should give you hints about making sure it points to your boot partition and any paramaters you need to have it to recognize your SCSI array.
Good luck. Let us know how it goes.
|
|
|
06-25-2003, 02:36 PM
|
#5
|
LQ Newbie
Registered: Jun 2003
Posts: 6
Original Poster
Rep:
|
hmmm, well to start, i am logged in as root. I looked at the man page for lilo.conf, it says it should look like this -
boot = /dev/hda
delay = 40
compact
vga = normal
root = /dev/hda1
read-only
image = /zImage-2.5.99
label = try
image = /zImage-1.0.9
label = 1.0.9
image = /tamu/vmlinuz
label = tamu
root = /dev/hdb2
vga = ask
other = /dev/hda3
label = dos
table = /dev/hda
mine would say sda1 for scsi .....
but there is no lilo.conf in /etc. when i execute /etc/lilo i get (or just lilo from /sbin) ->
[root@pangea sbin]# lilo
/etc/lilo.conf: No such file or directory
do i need to build the file from scratch? ive never done that before, but im game.
More important, this is a brand new load (granted ive loaded a few times trying to get it right), i havent deleted, moved or renamed any files. any idea why this file might be missing? that makes me nervous, because when i get this system where i want it, i plan to use this as a file server. if i cant make it stable it will be pretty much useless.
Thanks again!
|
|
|
06-25-2003, 02:41 PM
|
#6
|
Member
Registered: Oct 2002
Location: wisconsin -- The Badger state
Distribution: gentoo
Posts: 654
Rep:
|
just do mkdir /etc/lilo.conf
then add your setup like the man page said i dont even remember hwo to add windows to lilo but hopefully some toehr member will give you a copy of their lilo.conf heres mine which will help witht he linux setup and i think you windows entry should be along the same lines as my entry for bsd
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/hda
message = /boot/boot_message.txt
prompt
timeout = 30
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
# VESA framebuffer console @ 1024x768x256
vga = 773
# 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
# DOS bootable partition config begins
# DOS bootable partition config ends
# Linux bootable partition config begins
image = /boot/bzImage-CE-1
root = /dev/hda2
label = Linux-CE
read-only
append="hdc=ide-scsi"
image = /boot/bzImage-ck4-1
root = /dev/hda2
label = linux-ck
read-only
append="hdc=ide-scsi"
image = /boot/bzImage-2.4.20-lq1-1
root = /dev/hda2
label = linux-lq1
read-only
append="hdc=ide-scsi"
image = /boot/bzImage-2.5.73-1
root = /dev/hda2
label = linux-2.5.73
read-only
append="hdc=ide-scsi"
image = /boot/bzImage3
root = /dev/hda1
label = linux-2
read-only
image = /boot/bzImage-2.4.21-CE-2
root = /dev/hda5
label = linux-lirc
read-only
append="hdc=ide-scsi"
other=/dev/hdd1
table=/dev/hdd
label=freebsd
image = /boot/bzImage-2.4.21-4
root = /dev/hda1
label = linux2-2.4.21
read-only
append="hdc=ide-scsi"
|
|
|
06-25-2003, 07:12 PM
|
#7
|
Member
Registered: Oct 2002
Location: San Antonio, Texas
Distribution: MDK 8.0, 9.0; RH 7.2, 8.0, 9.0, FC3, FC4, FC5
Posts: 355
Rep:
|
A while back I read that Linux (or maybe Grub) do not work well with Adaptec SCSI Adapters. Do a search on this forum, Google and Red Hat website for your Adapter--should get you on the right path.
|
|
|
06-26-2003, 09:00 PM
|
#8
|
LQ Newbie
Registered: Jun 2003
Posts: 6
Original Poster
Rep:
|
Thanks deadbug! I found the information .... "BIOS Support for Int13 Extensions" disabled, now I am booting from the SCSI. I did not try grub before as the boot loader, just lilo. This is an Adaptec 2940U and found that others have had this problem.
http://sdb.suse.de/en/sdb/html/fhassel_grub_scsi.html
Like all good answers, they beg more questions!
First, my intention is to run as a file server with multiple scsi drives. Large files for editing video. I also hope build the system as RAID 5 eventually, for availabilty. And, eventually (I'll probably never have time for this one) I would like to boot from RAID. I also have a tape drive and intend to use amanda for a backup solution to all network devices (mostly windows, one powerpc with AIX).
Questions (im in the NEWBIE section so I figure dumb questions now, save a lotta time later) -
1. Does it really matter if I go lilo or grub? the more i look on the web the more i cant decide. can someone explain which is better, where and why (a little, or a link)?
2. BIOS Support for Int13 Extensions is now disabled - does this matter? I understand the boot partition, kernel etc has to be in the first 8 Gig? (these drives are 9.8 gig). I think I can live with that (comment on that if anyone feels different) is there anything else to be worried about?
I have a long way to go, I figure this is my first step .........
|
|
|
06-27-2003, 07:11 PM
|
#9
|
Member
Registered: Oct 2002
Location: wisconsin -- The Badger state
Distribution: gentoo
Posts: 654
Rep:
|
no it doesnt matter, once youve booted theres no difference between a grub and lilo system grub seems to have more features (custom splash screen etc) but lilo seems to be easier to learn (configs make more sense to someone who doenst know what theyre doing) it think thats about all
|
|
|
06-29-2003, 06:57 PM
|
#10
|
LQ Newbie
Registered: Jun 2003
Posts: 6
Original Poster
Rep:
|
does anyone know if disabling int13 extensions will mean anything as i develop the system?
|
|
|
06-29-2003, 06:58 PM
|
#11
|
LQ Newbie
Registered: Jun 2003
Posts: 6
Original Poster
Rep:
|
i'll probably just stick with grub since its working
|
|
|
All times are GMT -5. The time now is 06:49 AM.
|
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
|
|