I was mucking around in YAST 2 "configure boot mode" to see if I could find anything about using APM (apm=on apm=power-off) and got too far into the dialog. YAST 2 tried to write to the MBR with a failure. Now there are no options in reboot (e.g. Windows, Linux) dialog and I can't even write Lilo to a floopy in case this configuration won't boot again after shutting down. Help! I am using SuSE 7.3 Pro and KDE 2.2.1 as part of a dual boot with Win 2k. Brian
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday 06 June 2002 09:40, Brian Durant wrote:
I was mucking around in YAST 2 "configure boot mode" to see if I could find anything about using APM (apm=on apm=power-off) and got too far into the dialog. YAST 2 tried to write to the MBR with a failure. Now there are no options in reboot (e.g. Windows, Linux) dialog and I can't even write Lilo to a floopy in case this configuration won't boot again after shutting down. Help! I am using SuSE 7.3 Pro and KDE 2.2.1 as part of a dual boot with Win 2k.
Brian
All you have to do is re-create /etc/lilo.conf and #lilo . I would post my lilo.conf here, but due to a problem I have (not being able to start Konq as SU) I cannot access mine. No one on the English nor German lists seems to be able to help me. - -- "You can't make a program without broken egos." -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjz/dFoACgkQnQ18+PFcZJvRYgCfYDAMNg4jZu0HSa7g2BWyNGsP TIwAn0aTm4mOE/Aq9ld2jY5WVNCJ0+VA =hvxe -----END PGP SIGNATURE-----
On Thursday 06 June 2002 21:40, Carl wrote: - All you have to do is re-create /etc/lilo.conf and #lilo . - - I would post my lilo.conf here, but due to a problem I have (not being able to - start Konq as SU) I cannot access mine. Thanks Carl, It still seems to be there. I opened it in vi: boot = /dev/hda6 vga = 791 read-only menu-scheme = Wg:kw:Wg:Wg prompt timeout = 80 message = /boot/message image = /boot/vmlinuz label = linux root = /dev/hda6 initrd = /boot/initrd append = "enableapic vga=0x0317 disableapic ide=nodma apm=off hdd=ide-scsi" image = /boot/vmlinuz.suse label = failsafe root = /dev/hda6 initrd = /boot/initrd.suse append = "disableapic ide=nodma apm=off" optional other = /dev/hda1 label = windows Cheers, Brian
On Thursday 06 June 2002 3:00 pm, Brian Durant wrote:
On Thursday 06 June 2002 21:40, Carl wrote: - All you have to do is re-create /etc/lilo.conf and #lilo . - You will need to run lilo to get it to rewrite your mbr ASAIK.
Use the SuSE cd to start the installation prog and chose the non-X option. Cancel the installation and then choose "Start installed System" (or whatever the choice is) selecting the appropriate dev (e.g. /dev/hda1) This will then load your existing system, and then you can run lilo (either from Yast, or the command line. It should then reboot as normal. HTH Terence
On Thursday 06 June 2002 22:08, T. J. McCarthy wrote: - Use the SuSE cd to start the installation prog and chose the non-X option. - Cancel the installation and then choose "Start installed System" (or - whatever - the choice is) selecting the appropriate dev (e.g. /dev/hda1) Are we talking about CD 1? - This will then load your existing system, and then you can run lilo (either - from Yast, or the command line. - It should then reboot as normal. And if it doesn't? I won't be able to post again for a while if it doesn't, so I should probably know something about the options, if there are any. Brian
On Thursday 06 June 2002 3:32 pm, Brian Durant wrote:
Are we talking about CD 1?
Yes, you use the installation system to boot your existing system, by-passing the broken mbr on your hd, as I described.
- This will then load your existing system, and then you can run lilo (either - from Yast, or the command line). - It should then reboot as normal.
It hasn't failed for me when I've used it to correct errors
And if it doesn't? I won't be able to post again for a while if it doesn't, so I should probably know something about the options, if there are any.
You need to run lilo on your existing system to repair the damage. There may be another way to do it that is as simple, but I don't know it if so. Good luck. Terence
Well, things have gone from bad to worse. I am now forced to work off my Win 2k boot as SuSE 7.3 Pro gives me tons of errors at startup. Where to begin? Well, there is kernel panic, there something with bogus sectors 5000 something (can't remember the exact number, but it was in the 5000 range), can't find RAM disk, plus a lot more. In other words SuSE is simply not functioning at startup. I have tried booting fron CD 1, but I can't find any option in the 7.3 CD at startup that will boot into my existing system. There are also some basic commands that I am unaware of from the command line, like how can I print the startup errors to a printer, save the errors as a file on a floppy or even how to get the system to shutdown properly from the command line. Some of this info I have, but on my SuSE system that won't run. A not so cheerfull, Brian
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday 06 June 2002 22:16, Brian Durant wrote:
Well, things have gone from bad to worse. I am now forced to work off my Win 2k boot as SuSE 7.3 Pro gives me tons of errors at startup. Where to begin? Well, there is kernel panic, there something with bogus sectors 5000 something (can't remember the exact number, but it was in the 5000 range), can't find RAM disk, plus a lot more. In other words SuSE is simply not functioning at startup. I have tried booting fron CD 1, but I can't find any option in the 7.3 CD at startup that will boot into my existing system.
There are also some basic commands that I am unaware of from the command line, like how can I print the startup errors to a printer, save the errors as a file on a floppy or even how to get the system to shutdown properly from the command line. Some of this info I have, but on my SuSE system that won't run.
A not so cheerfull,
Brian
OK dude, things can always get worse. What happened right before all this mess? My first guess is it can't find its libraries (/lib/kernelversion). Are they there? When you boot to the CD, proceed until it gives you the option of booting an existing system. The errors are likely in /var/log/localmessages and messages so print those files. (they'll be long) Oh, I'm sorry, how can I help people when I can't get my own problems fixed. - -- Conway's Law: In any organization there will always be one person who knows what is going on. This person must be fired. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iEYEARECAAYFAj0AKXcACgkQnQ18+PFcZJt6CACeKdcso8qmef17PQ+0MEtvCfCX /sAAn1N8LoyC8wfZsBUkpr0NOxVLF0l9 =F1fo -----END PGP SIGNATURE-----
On Friday 07 June 2002 10:33, Carl wrote: - What happened right before all this mess? - My first guess is it can't find its libraries (/lib/kernelversion). Are - they - there? I was mucking around in YAST 2 "configure boot mode" to see if I could find anything about using APM (apm=on apm=power-off) and got too far into the lilo dialog. YAST 2 tried to write to the MBR with a failure of: Warning: device 0x0306 exceeds 1024 cylinder limit. Use of the 'lba32' option may help on newer (EDD BIOS) systems. Fatal: geo_comp_addr: Cylinder number is too big (2785 > 1023) - When you boot to the CD, proceed until it gives you the option of booting - an - existing system. Got it. Kinda cool and weird at the same time. - The errors are likely in /var/log/localmessages and messages so print those - files. (they'll be long) More weirdness. Absolutely no errors since May 19? Here is the lilo.log It looks similar to the above original area, but I am not sure it is: Reading boot sector from /dev/fd0 Merging with /boot/boot.b Device 0x0306: BIOS drive 0x80, 255 heads, 4866 cylinders, 63 sectors. Partition offset: 40981878 sectors. Fatal: geo_comp_addr: Cylinder number is too big (2785 > 1023) What really bugs me is that I don't seem to be able to find the log messages I saw when I first had booting-up problems. They must be around somewhere. Anyway, here is a copy of my lilo.conf file again. There must be something wrong with it: boot = /dev/hda6 vga = 791 read-only menu-scheme = Wg:kw:Wg:Wg prompt timeout = 80 message = /boot/message lba32 image = /boot/vmlinuz label = linux root = /dev/hda6 initrd = /boot/initrd append = "enableapic vga=0x0317 disableapic ide=nodma apm=off hdd=ide-scsi" image = /boot/vmlinuz.suse label = failsafe root = /dev/hda6 initrd = /boot/initrd.suse append = "disableapic ide=nodma apm=off" optional other = /dev/hda1 label = windows image = /boot/memtest.bin label = memtest86 Personally, I got the impression that there was a problem with the "lba32" call which was apparently considered "bogus". This could be clarrified of course, if I could find the correct #%¤* log. Brian
On Fri, Jun 07, 2002 at 01:26:16PM +0700, Brian Durant wrote: <snip> I haven't the time to look deeper into this ATM, but looking at your lilo.conf, two things caught my attention:
boot = /dev/hda6 is this correct?
and:
append = "enableapic vga=0x0317 disableapic ide=nodma apm=off hdd=ide-scsi"
"enableapic" *and* "disableapic" in the same line? Dunno, maybe this is a little confusing to lilo?
Personally, I got the impression that there was a problem with the "lba32" call which was apparently considered "bogus". This could be clarrified of course, if I could find the correct #%¤* log.
right now, the only thing I can come up with is: /var/log/boot.* maybe boot.omsg ? Here my lilo.conf for comparison: # Modified by YaST2. Last modification on Tue May 21 20:16:58 2002 boot = /dev/hda change-rules reset read-only menu-scheme = Wg:kw:Wg:Wg lba32 prompt timeout = 80 message = /boot/message image = /boot/vmlinuz label = linux append = "hdc=ide-scsi" initrd = /boot/initrd root = /dev/hda9 vga = 791 image = /boot/vmlinuz.suse label = failsafe append = "ide=nodma apm=off acpi=off hdc=ide-scsi" initrd = /boot/initrd.suse optional root = /dev/hda9 vga = 791 image = /boot/memtest.bin label = memtest86 image = /boot/vmlinuz-7.3 label = 7.3 append = "\"hdc=ide-scsi\"" initrd = /boot/initrd-7.3 optional root = /dev/hda7 hth Jon Clausen
On Friday 07 June 2002 13:44, Jon Clausen wrote: - I haven't the time to look deeper into this ATM, but looking at your - lilo.conf, two things caught my attention: - - > boot = /dev/hda6 - is this correct? That is correct. Here are my partitions: Device Boot Start End Blocks Id System /dev/hda1 * 1 2295 18434556 c Win95 FAT32 (LBA) /dev/hda2 2360 4866 20137477+ f Win95 Ext'd (LBA) /dev/hda5 2360 2551 1542208+ 82 Linux swap /dev/hda6 2552 4866 18595206 83 Linux hda6 is a ReiserFS partition. I deleted a /dev/hda3 partition with no data on it some months ago, so there is some empty space on my drive as well. The hda3 partition was an error in judgment that I made when I first installed SuSE 7.3 Pro. - and: - - > append = "enableapic vga=0x0317 disableapic ide=nodma apm=off hdd=ide-scsi" - - "enableapic" *and* "disableapic" in the same line? Dunno, maybe this is - a little confusing to lilo? Could be, and I would like to change it at some point, but as far as I know, it has been like that since I enabled APIC in the kernel. - > Personally, I got the impression that there was a problem with the "lba32" - > call which was apparently considered "bogus". This could be clarrified of - > course, if I could find the correct #%¤* log. - - right now, the only thing I can come up with is: - /var/log/boot.* - maybe boot.omsg ? No dice. "boot.omsg" only contained yesterday's boot up and shutdown. - maybe boot.omsg ? - Here my lilo.conf for comparison: - image = /boot/memtest.bin - label = memtest86 - - image = /boot/vmlinuz-7.3 - label = 7.3 These two strike me as something that could be a problem as I am lacking these entries. BTW, while I have /boot/memtest.bin, I don't have a /boot/vmlinuz-7.3 does this normally disapear when you recompile? Brian
First of all; I didn't really follow this thread from the beginning, I think I've pretty much read the previous posts, but could you (Brian) maybe give a summary of the *present* state of affairs? Comments inline: On Fri, Jun 07, 2002 at 03:54:17PM +0700, Brian Durant wrote:
- lilo.conf, two things caught my attention: - - > boot = /dev/hda6 - is this correct?
That is correct.
Well, the reason I ask, is that you mention mbr as the location where you install the bootloader. I wouldn't claim to be an expert, but in all the time I've used linux, lilo was always put in mbr, and that particular entry has always been boot = /dev/hda (that is *without* a partition number) has this been changed since the last time lilo was installed?
Here are my partitions: Device Boot Start End Blocks Id System /dev/hda1 * 1 2295 18434556 c Win95 FAT32 (LBA) /dev/hda2 2360 4866 20137477+ f Win95 Ext'd (LBA) /dev/hda5 2360 2551 1542208+ 82 Linux swap /dev/hda6 2552 4866 18595206 83 Linux
Looks nice :)
hda6 is a ReiserFS partition.
And support for reiser is compiled in the kernel?
I deleted a /dev/hda3 partition with no data on it some months ago, so there
free space is always nice, make your self a /home... f.x.?
- "enableapic" *and* "disableapic" in the same line? Dunno, maybe this is
Could be, and I would like to change it at some point, but as far as I know, it has been like that since I enabled APIC in the kernel.
Well... you might as well do it now... I mean it's not like messing with it can break anything much IYKWIM ;P
- > Personally, I got the impression that there was a problem with the "lba32" - > call which was apparently considered "bogus". This could be clarrified of - > course, if I could find the correct #%¤* log.
Hm.. I think those logs are gone :( afaik boot.log doesn't survive between boots, so if boot.omsg is 'empty' I think there's little hope of seeing those msgs...
- Here my lilo.conf for comparison:
- image = /boot/memtest.bin - label = memtest86 - - image = /boot/vmlinuz-7.3 - label = 7.3
These two strike me as something that could be a problem as I am lacking these entries. BTW, while I have /boot/memtest.bin, I don't have a /boot/vmlinuz-7.3 does this normally disapear when you recompile?
Damn! Sorry 'bout that... my bad: The lilo.conf I posted is from my 8.0 which has an entry for the 7.3 system still lingering on the machine... Here's the lilo.conf from my 7.3 (just ignore the SuSE8 entry at the bottom) ------------------------------------------- # LILO configuration file # Start LILO global Section # If you want to prevent console users to boot with init=/bin/bash, # restrict usage of boot params by setting a passwd and using the # option # restricted. #password=bootpwd #restricted append="enableapic hdc=ide-scsi" boot=/dev/hda #compact # faster, but won't work on all systems. lba32 vga=normal message=/boot/message menu-scheme=Wg:kw:Wg:Wg read-only prompt timeout=80 # End LILO global Section # image = /boot/vmlinuz root = /dev/hda7 label = linux initrd = /boot/initrd # image = /boot/vmlinuz.jon root = /dev/hda7 label = linux.jon initrd = /boot/initrd # image = /boot/vmlinuz.suse root = /dev/hda7 label = failsafe initrd = /boot/initrd.suse optional # image = /boot/memtest.bin label = memtest86 # image = /boot/vmlinuz8 root = /dev/hda9 label = SuSE8 initrd = /boot/initrd8 -------------------------------------------- Missing entry for memtest is curious. Shouldn't be a problem though... It's just a test util for checking your RAM, which needs to run separated from the OS itself... It's a nice enough feature, but you don't need it before you start suspecting that your memory is going bad... hth Jon Clausen
On Friday 07 June 2002 6:26 am, Brian Durant wrote:
More weirdness. Absolutely no errors since May 19?
Brian, where is your boot partition mounted? In root or its own partition? What other partitions do you have? What are their sizes? When did you install this system? (May 19th?) Did you re-run lilo after you got into the fscked system? Terence
On Thu, 6 Jun 2002, Carl wrote:
I would post my lilo.conf here, but due to a problem I have (not being able to start Konq as SU) I cannot access mine.
Are you getting an 'unable to open display: Permission denied' sort of message? if so, run 'sux -' instead of 'su'. It'll give you root permission, and give root permission to access the X server, which is running as your user. Rick Green
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday 06 June 2002 13:26, Rick Green wrote:
Are you getting an 'unable to open display: Permission denied' sort of message?
if so, run 'sux -' instead of 'su'. It'll give you root permission, and give root permission to access the X server, which is running as your user.
Rick Green
Thanks for replying. No, I get that when I try to run something from a root console. When logged in as a user KMenu|System|FileManagerSuperuserMode, I get the login dialog, enter info, OK, but Konq never comes up. There is no apparent way to backtrace, as there don't seem to be logs for K. hydra@hydra:~> sux root Password: hydra:/home/hydra # cd /opt/kde3/bin hydra:/opt/kde3/bin # ./konqueror DCOPServer up and running. mcop warning: user defined signal handler found for SIG_PIPE, overriding /tmp/mcop-hydra is not owned by user zone still contained 2 blocks hydra:/opt/kde3/bin # WTF? I'm trying to run an investment business here. - -- ... The Anarchists' [national] anthem is an international anthem that consists of 365 raspberries blown in very quick succession to the tune of "Camptown Races". Nobody has to stand up for it, nobody has to listen to it, and, even better, nobody has to play it. -- Mike Harding, "The Armchair Anarchist's Almanac" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjz/so4ACgkQnQ18+PFcZJtUrQCeKhr2+szqhUY31UgmtTdVXeDG +NwAniOhFCgmv+RD0BlMc6FNL3oqgzus =LF2B -----END PGP SIGNATURE-----
On Thu, 6 Jun 2002, Carl wrote:
When logged in as a user KMenu|System|FileManagerSuperuserMode, I get the login dialog, enter info, OK, but Konq never comes up. There is no apparent way to backtrace, as there don't seem to be logs for K.
hydra@hydra:~> sux root Password: hydra:/home/hydra # cd /opt/kde3/bin hydra:/opt/kde3/bin # ./konqueror DCOPServer up and running. mcop warning: user defined signal handler found for SIG_PIPE, overriding /tmp/mcop-hydra is not owned by user zone still contained 2 blocks hydra:/opt/kde3/bin #
WTF? I'm trying to run an investment business here.
I'm afraid I'm not familiar enough to help you understand these messages, but maybe someone else on the list will jump in. At least by starting konq from a command line, you got the messages! I, too, find it frustrating when an application fails to start from the menu, and it just quits quietly. I find that oftentimes, starting it from a terminal window will give me just enough additional information to lead me to the real problem. Unfortunately, I'm not expert in DCOPserver, so I'll have to hope that someone who is will see this and pick up the ball from here... Rick Green
participants (5)
-
Brian Durant
-
Carl
-
Jon Clausen
-
Rick Green
-
T. J. McCarthy