Re: System won't boot, "lilo.conf" problem and Re: hard drive
Quoting Hamish Moffatt ([EMAIL PROTECTED]): > On Sat, Jan 09, 1999 at 04:22:15PM +0100, Peter Bartosch wrote: > > > I have the same situation to Tam. Whenever I boot my PC, It only > > > show " LI" and freeze. The different thing is I have only one disk ( > > > 2GB) and all dedicated to linux. No other operating system inside. > > > The /etc/lilo.conf content is > > > boot=/dev/hda1 > >^--- > > > > you have to write "boot=/dev/hda" here -- lilo should be written into the > > mba of the first drive not the first partition (which have no mba) > > No, that's not correct. boot=/dev/hda1 is fine, as long as "mbr" or > the standard MS-DOS boot code is in the master boot record, and the Linux > partition is marked active. > > I suggest leaving the configuration file alone and just running /sbin/lilo > again; that might fix it. Oops, you've reminded me. That was the other change I had to make, boot=/dev/hda instead of boot=/dev/hda2 (in my case, swap is first). The first change being to add linear, see the "hard drive" thread". Only when I reverted to rebuilding the disk in my ancient 486 was I able to revert to non-linear and boot=/dev/hda2. From a position of ignorance, I can only suppose that the DOS mbr couldn't find /dev/hda2 because the BIOS which it was cooperating with did not understand the geometry of the disk. Cheers, -- Email: [EMAIL PROTECTED] Tel: +44 1908 653 739 Fax: +44 1908 655 151 Snail: David Wright, Earth Science Dept., Milton Keynes, England, MK7 6AA Disclaimer: These addresses are only for reaching me, and do not signify official stationery. Views expressed here are either my own or plagiarised.
Re: System won't boot, "lilo.conf" problem
On Sat, Jan 09, 1999 at 04:22:15PM +0100, Peter Bartosch wrote: > > I have the same situation to Tam. Whenever I boot my PC, It only > > show " LI" and freeze. The different thing is I have only one disk ( > > 2GB) and all dedicated to linux. No other operating system inside. > > The /etc/lilo.conf content is > > boot=/dev/hda1 >^--- > > you have to write "boot=/dev/hda" here -- lilo should be written into the > mba of the first drive not the first partition (which have no mba) No, that's not correct. boot=/dev/hda1 is fine, as long as "mbr" or the standard MS-DOS boot code is in the master boot record, and the Linux partition is marked active. I suggest leaving the configuration file alone and just running /sbin/lilo again; that might fix it. Hamish -- Hamish Moffatt VK3TYD [EMAIL PROTECTED], [EMAIL PROTECTED] Latest Debian packages at ftp://ftp.rising.com.au/pub/hamish. PGP#EFA6B9D5 CCs of replies from mailing lists are welcome. http://hamish.home.ml.org
Re: System won't boot, "lilo.conf" problem
Not a lilo expert but I think that you need boot=/dev/hda instead of /dev/hda1. Also, are you sure you don't need the compact line ? BTW: I am sure that /usr/doc/lilo/* will be more helpful then me. > Hi > I have the same situation to Tam. Whenever I boot my PC, It only > show " LI" and freeze. The different thing is I have only one disk ( > 2GB) and all dedicated to linux. No other operating system inside. > The /etc/lilo.conf content is > boot=/dev/hda1 > root=/dev/hda1 > install=/boot/boot.b > map=/boot/map > vga=normal > image=/vmlinuz > label=Linux > read only > > I have been bothered by this problem for 2 weeks! Please help me > to solve the problem. > Thanks!!! > > > My system is similar to yours (2 hd, Win95 on hda1, Debian on hdb). Perhaps > > my > > /etc/lilo.conf could help. > > > > [22:02:27 shaul]$ cat /etc/lilo.conf > > # /etc/lilo.conf > > > > boot=/dev/hda > > compact > > install=/boot/boot.b > > map=/boot/map > > vga=normal > > prompt > > timeout=50 > > other=/dev/hda1 > > label=MS > > table=/dev/hda > > image=/vmlinuz > > label=Linux > > root=/dev/hdb1 > > read-only > > image=/vmlinuz > > label=single > > append=single > > root=/dev/hdb1 > > read-only > > > > [22:02:59 shaul]$ > > > > > > > Hi, > > > > > > I really need some (PLEASE). After I successfully installed the base > > > system, I configured the /etc/lilo.conf file and when I reboot, my sytem > > > displays this : > > > LI > > > and then freezes. Hopefully someone can help me. > > > > > > Now I will give you a description of what I am trying to do so you can > > > understand my problem better. > > > > > > I have two hard drives and I'll call them "/dev/hda" and "/dev/hdc". > > > /dev/hda is a "master" on the first IDE chain and /dev/hdc is also a > > > "master" > > > but on the second IDE chain. I have DOS/win95 on /dev/hda and just > > > installed the base of Linux on /dev/hdc (dedicate only to Linux). > > > ***When I make the /root partition on /dev/hdc, I make it bootable*** > > > > > > This is what I want to do: > > > I want to have a choice to of DOS/win95 or Linux when I boot my system > > > > > > This is what I did, I not sure if it is right or not: > > > -run liloconfig > > > -said "YES" to the first question to install a partition boot > > > record on /dev/hdc. > > > -said "NO" to making a master boot record on my second drive > > > /dev/hdc > > > cuz to want to boot from /dev/hda and I assume that it is > > > right not making a mbr on /dev/hdc. > > > -said "NO" to the third question, not making my /dev/hdc active. > > > > > > Now I go in "/etc/lilo.conf" and fix it by hand and this is what > > > it looks like: (I delete the original data that lilo provided such as > > > compact, install=/boot/boot.b, etc) > > > > > > boot=/dev/hda > > > delay=40 > > > > > > other=/dev/hda1 > > > label=windows > > > table=/dev/hda > > > > > > image=/vmlinuz > > > root=/dev/hdc2 #hdc2 is my root partition > > > label-Linux > > > read-only > > > > > > This is the exact data in this file. > > > I save this file and type the command "lilo" and I get this : > > > Added windows * > > > Added Linux > > > Then I reboot > > > and I system freezes atLI > > > > > > > > > Now I can't even boot DOS/win95 because I can't get my /etc/lilo.conf to > > > work. I tried to remove the file "boot.0300" in the /boot dir on > > > /dev/hdc2 but that doesn't work . I also have the file "boot.0613" or > > > something like that in my /boot dir but I didn't delete(I am not sure > > > what it is). > > > > > > If you have the time, please help, THANKS! > > > -- > > > Tam > > > [EMAIL PROTECTED] > > > Linux Rules! > > > > > > > > > > > > > > > -- > > > Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null > > > > > > > > > > > > > > > > > > > > > > -- > > Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null > > > > > > > > -- > Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null > >
Re: System won't boot, "lilo.conf" problem
Hi! > Hi > I have the same situation to Tam. Whenever I boot my PC, It only > show " LI" and freeze. The different thing is I have only one disk ( > 2GB) and all dedicated to linux. No other operating system inside. > The /etc/lilo.conf content is > boot=/dev/hda1 ^--- you have to write "boot=/dev/hda" here -- lilo should be written into the mba of the first drive not the first partition (which have no mba) > root=/dev/hda1 > install=/boot/boot.b > map=/boot/map -- until next mail ;) . ___ ---___ .--. ./ - /\ ___ ( DEBIAN `-|O O | | |; --.|| |___|: GNU/Linux _- |<_) \. | __ eter| -/ | || | `. www.debian.org / ' .\. ||__| ` --- . ___ .. ' | ..| | | artosch | ...\. |___| / . ..| /,\ .__\ ~ [EMAIL PROTECTED] | | o| | | |O(| / student of technical computer science \.. \\ / university of applied sciences krefeld (germany) \__/ \_/
Re: System won't boot, "lilo.conf" problem
On Fri, Jan 08, 1999 at 12:34:10PM +0800, [EMAIL PROTECTED] wrote: > Hi > I have the same situation to Tam. Whenever I boot my PC, It only > show " LI" and freeze. The different thing is I have only one disk ( > 2GB) and all dedicated to linux. No other operating system inside. > The /etc/lilo.conf content is > boot=/dev/hda1 > root=/dev/hda1 > install=/boot/boot.b > map=/boot/map > vga=normal > image=/vmlinuz > label=Linux > > [22:02:27 shaul]$ cat /etc/lilo.conf > > # /etc/lilo.conf > > > > boot=/dev/hda > > compact > > install=/boot/boot.b > > map=/boot/map > > vga=normal > > prompt > > timeout=50 > > other=/dev/hda1 > > label=MS > > table=/dev/hda > > image=/vmlinuz > > label=Linux > > root=/dev/hdb1 > > read-only > > image=/vmlinuz > > label=single > > append=single > > root=/dev/hdb1 > > read-only > > > > [22:02:59 shaul]$ > > > > > > > Hi, > > > > > > I really need some (PLEASE). After I successfully installed the base > > > system, I configured the /etc/lilo.conf file and when I reboot, my sytem > > > displays this : > > > LI > > > and then freezes. Hopefully someone can help me. > > > > > > Now I will give you a description of what I am trying to do so you can > > > understand my problem better. > > > > > > I have two hard drives and I'll call them "/dev/hda" and "/dev/hdc". > > > /dev/hda is a "master" on the first IDE chain and /dev/hdc is also a > > > "master" > > > but on the second IDE chain. I have DOS/win95 on /dev/hda and just > > > installed the base of Linux on /dev/hdc (dedicate only to Linux). > > > ***When I make the /root partition on /dev/hdc, I make it bootable*** > > > > > > This is what I want to do: > > > I want to have a choice to of DOS/win95 or Linux when I boot my system > > > > > > This is what I did, I not sure if it is right or not: > > > -run liloconfig > > > -said "YES" to the first question to install a partition boot > > > record on /dev/hdc. > > > -said "NO" to making a master boot record on my second drive > > > /dev/hdc > > > cuz to want to boot from /dev/hda and I assume that it is > > > right not making a mbr on /dev/hdc. > > > -said "NO" to the third question, not making my /dev/hdc active. > > > > > > Now I go in "/etc/lilo.conf" and fix it by hand and this is what > > > it looks like: (I delete the original data that lilo provided such as > > > compact, install=/boot/boot.b, etc) > > > > > > boot=/dev/hda > > > delay=40 > > > > > > other=/dev/hda1 > > > label=windows > > > table=/dev/hda > > > > > > image=/vmlinuz are you sure this exists? ^ > > > root=/dev/hdc2 #hdc2 is my root partition > > > label-Linux ^ should be: label=Linux > > > read-only
Re: System won't boot, "lilo.conf" problem
Hi I have the same situation to Tam. Whenever I boot my PC, It only show " LI" and freeze. The different thing is I have only one disk ( 2GB) and all dedicated to linux. No other operating system inside. The /etc/lilo.conf content is boot=/dev/hda1 root=/dev/hda1 install=/boot/boot.b map=/boot/map vga=normal image=/vmlinuz label=Linux read only I have been bothered by this problem for 2 weeks! Please help me to solve the problem. Thanks!!! > My system is similar to yours (2 hd, Win95 on hda1, Debian on hdb). Perhaps > my > /etc/lilo.conf could help. > > [22:02:27 shaul]$ cat /etc/lilo.conf > # /etc/lilo.conf > > boot=/dev/hda > compact > install=/boot/boot.b > map=/boot/map > vga=normal > prompt > timeout=50 > other=/dev/hda1 > label=MS > table=/dev/hda > image=/vmlinuz > label=Linux > root=/dev/hdb1 > read-only > image=/vmlinuz > label=single > append=single > root=/dev/hdb1 > read-only > > [22:02:59 shaul]$ > > > > Hi, > > > > I really need some (PLEASE). After I successfully installed the base > > system, I configured the /etc/lilo.conf file and when I reboot, my sytem > > displays this : > > LI > > and then freezes. Hopefully someone can help me. > > > > Now I will give you a description of what I am trying to do so you can > > understand my problem better. > > > > I have two hard drives and I'll call them "/dev/hda" and "/dev/hdc". > > /dev/hda is a "master" on the first IDE chain and /dev/hdc is also a > > "master" > > but on the second IDE chain. I have DOS/win95 on /dev/hda and just > > installed the base of Linux on /dev/hdc (dedicate only to Linux). > > ***When I make the /root partition on /dev/hdc, I make it bootable*** > > > > This is what I want to do: > > I want to have a choice to of DOS/win95 or Linux when I boot my system > > > > This is what I did, I not sure if it is right or not: > > -run liloconfig > > -said "YES" to the first question to install a partition boot > > record on /dev/hdc. > > -said "NO" to making a master boot record on my second drive > > /dev/hdc > > cuz to want to boot from /dev/hda and I assume that it is > > right not making a mbr on /dev/hdc. > > -said "NO" to the third question, not making my /dev/hdc active. > > > > Now I go in "/etc/lilo.conf" and fix it by hand and this is what > > it looks like: (I delete the original data that lilo provided such as > > compact, install=/boot/boot.b, etc) > > > > boot=/dev/hda > > delay=40 > > > > other=/dev/hda1 > > label=windows > > table=/dev/hda > > > > image=/vmlinuz > > root=/dev/hdc2 #hdc2 is my root partition > > label-Linux > > read-only > > > > This is the exact data in this file. > > I save this file and type the command "lilo" and I get this : > > Added windows * > > Added Linux > > Then I reboot > > and I system freezes atLI > > > > > > Now I can't even boot DOS/win95 because I can't get my /etc/lilo.conf to > > work. I tried to remove the file "boot.0300" in the /boot dir on > > /dev/hdc2 but that doesn't work . I also have the file "boot.0613" or > > something like that in my /boot dir but I didn't delete(I am not sure > > what it is). > > > > If you have the time, please help, THANKS! > > -- > > Tam > > [EMAIL PROTECTED] > > Linux Rules! > > > > > > > > > > -- > > Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null > > > > > > > > > > > > -- > Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null > >
Re: System won't boot, "lilo.conf" problem
My system is similar to yours (2 hd, Win95 on hda1, Debian on hdb). Perhaps my /etc/lilo.conf could help. [22:02:27 shaul]$ cat /etc/lilo.conf # /etc/lilo.conf boot=/dev/hda compact install=/boot/boot.b map=/boot/map vga=normal prompt timeout=50 other=/dev/hda1 label=MS table=/dev/hda image=/vmlinuz label=Linux root=/dev/hdb1 read-only image=/vmlinuz label=single append=single root=/dev/hdb1 read-only [22:02:59 shaul]$ > Hi, > > I really need some (PLEASE). After I successfully installed the base > system, I configured the /etc/lilo.conf file and when I reboot, my sytem > displays this : > LI > and then freezes. Hopefully someone can help me. > > Now I will give you a description of what I am trying to do so you can > understand my problem better. > > I have two hard drives and I'll call them "/dev/hda" and "/dev/hdc". > /dev/hda is a "master" on the first IDE chain and /dev/hdc is also a "master" > but on the second IDE chain. I have DOS/win95 on /dev/hda and just > installed the base of Linux on /dev/hdc (dedicate only to Linux). > ***When I make the /root partition on /dev/hdc, I make it bootable*** > > This is what I want to do: > I want to have a choice to of DOS/win95 or Linux when I boot my system > > This is what I did, I not sure if it is right or not: > -run liloconfig > -said "YES" to the first question to install a partition boot > record on /dev/hdc. > -said "NO" to making a master boot record on my second drive /dev/hdc > cuz to want to boot from /dev/hda and I assume that it is > right not making a mbr on /dev/hdc. > -said "NO" to the third question, not making my /dev/hdc active. > > Now I go in "/etc/lilo.conf" and fix it by hand and this is what > it looks like: (I delete the original data that lilo provided such as > compact, install=/boot/boot.b, etc) > > boot=/dev/hda > delay=40 > > other=/dev/hda1 > label=windows > table=/dev/hda > > image=/vmlinuz > root=/dev/hdc2 #hdc2 is my root partition > label-Linux > read-only > > This is the exact data in this file. > I save this file and type the command "lilo" and I get this : > Added windows * > Added Linux > Then I reboot > and I system freezes atLI > > > Now I can't even boot DOS/win95 because I can't get my /etc/lilo.conf to > work. I tried to remove the file "boot.0300" in the /boot dir on > /dev/hdc2 but that doesn't work . I also have the file "boot.0613" or > something like that in my /boot dir but I didn't delete(I am not sure > what it is). > > If you have the time, please help, THANKS! > -- > Tam > [EMAIL PROTECTED] > Linux Rules! > > > > > -- > Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null > >
Re: System won't boot, "lilo.conf" problem
Ok, this is from the manual on lilo: LI The first stage boot loader was able to load the second stage boot loader, but has failed to execute it. This can either be caused by a geometry mismatch or by moving /boot/boot.b without running the map installer. Not sure how to help you, but maybe this explains a little bit what the problem could be. Could send the whole file if you need it. In the mean time, use a Windows start disk to fdisk /mbr (Hope your BIOS does a A: C: boot procedure and searches for A: on a boot, if not, set it up like that) WHich will restore the original master boot record on the C drive so you can boot Windows. Use Linux rescue floppy which you should have to get in and perhaps rerun lilo, just make sure that all your compinents are in place, like boot=/boot/. Andrew Never include a comment that will help | Andrew Ivanov someone else understand your code. | [EMAIL PROTECTED] If they understand it, they don't | ICQ: 12402354 need you. |
Re: System won't boot, "lilo.conf" problem
At 09:20 AM 1/4/1999 -0500, CJ wrote: >Hi, > > I really need some (PLEASE). After I successfully installed the base >system, I configured the /etc/lilo.conf file and when I reboot, my sytem >displays this : > LI >and then freezes. Hopefully someone can help me. > >Now I will give you a description of what I am trying to do so you can >understand my problem better. > > I have two hard drives and I'll call them "/dev/hda" and "/dev/hdc". >/dev/hda is a "master" on the first IDE chain and /dev/hdc is also a "master" >but on the second IDE chain. I have DOS/win95 on /dev/hda and just >installed the base of Linux on /dev/hdc (dedicate only to Linux). >***When I make the /root partition on /dev/hdc, I make it bootable*** > >This is what I want to do: > I want to have a choice to of DOS/win95 or Linux when I boot my system > >This is what I did, I not sure if it is right or not: > -run liloconfig >-said "YES" to the first question to install a partition boot > record on /dev/hdc. >-said "NO" to making a master boot record on my second drive /dev/hdc > cuz to want to boot from /dev/hda and I assume that it is > right not making a mbr on /dev/hdc. > -said "NO" to the third question, not making my /dev/hdc active. > >Now I go in "/etc/lilo.conf" and fix it by hand and this is what >it looks like: (I delete the original data that lilo provided such as >compact, install=/boot/boot.b, etc) > > boot=/dev/hda > delay=40 > >other=/dev/hda1 > label=windows > table=/dev/hda > > image=/vmlinuz > root=/dev/hdc2 #hdc2 is my root partition > label-Linux > read-only > >This is the exact data in this file. >I save this file and type the command "lilo" and I get this : > Added windows * > Added Linux >Then I reboot >and I system freezes atLI > > >Now I can't even boot DOS/win95 because I can't get my /etc/lilo.conf to >work. I tried to remove the file "boot.0300" in the /boot dir on >/dev/hdc2 but that doesn't work . I also have the file "boot.0613" or >something like that in my /boot dir but I didn't delete(I am not sure >what it is). > >If you have the time, please help, THANKS! > -- >Tam >[EMAIL PROTECTED] >Linux Rules! I *think* you need to add back in the "install=/boot/boot.b" line, and that your "boot=" line should be "boot=/dev/hda1", not just "boot=/dev/hda".
System won't boot, "lilo.conf" problem
Hi, I really need some (PLEASE). After I successfully installed the base system, I configured the /etc/lilo.conf file and when I reboot, my sytem displays this : LI and then freezes. Hopefully someone can help me. Now I will give you a description of what I am trying to do so you can understand my problem better. I have two hard drives and I'll call them "/dev/hda" and "/dev/hdc". /dev/hda is a "master" on the first IDE chain and /dev/hdc is also a "master" but on the second IDE chain. I have DOS/win95 on /dev/hda and just installed the base of Linux on /dev/hdc (dedicate only to Linux). ***When I make the /root partition on /dev/hdc, I make it bootable*** This is what I want to do: I want to have a choice to of DOS/win95 or Linux when I boot my system This is what I did, I not sure if it is right or not: -run liloconfig -said "YES" to the first question to install a partition boot record on /dev/hdc. -said "NO" to making a master boot record on my second drive /dev/hdc cuz to want to boot from /dev/hda and I assume that it is right not making a mbr on /dev/hdc. -said "NO" to the third question, not making my /dev/hdc active. Now I go in "/etc/lilo.conf" and fix it by hand and this is what it looks like: (I delete the original data that lilo provided such as compact, install=/boot/boot.b, etc) boot=/dev/hda delay=40 other=/dev/hda1 label=windows table=/dev/hda image=/vmlinuz root=/dev/hdc2 #hdc2 is my root partition label-Linux read-only This is the exact data in this file. I save this file and type the command "lilo" and I get this : Added windows * Added Linux Then I reboot and I system freezes atLI Now I can't even boot DOS/win95 because I can't get my /etc/lilo.conf to work. I tried to remove the file "boot.0300" in the /boot dir on /dev/hdc2 but that doesn't work . I also have the file "boot.0613" or something like that in my /boot dir but I didn't delete(I am not sure what it is). If you have the time, please help, THANKS! -- Tam [EMAIL PROTECTED] Linux Rules!