25.04.2024, 17:40 UhrDeutsch | English
Hallo Gast [ Registrierung | Anmelden ]

Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
Autor Nachricht
jebus197
Titel: Cannot Start My Computer Reliably with Grub.  BeitragVerfasst am: 27.11.2006, 14:53 Uhr



Anmeldung: 26. Nov 2006
Beiträge: 85

Damn... After all that effort and debate... Sigh...

Hi, I just lost my Kanotix install (2006-01-RC4) and got a Kernel panic for no good reason.

The message I get when I start is:

Code:
"Kernel Panic - not syncing: VFS: unable to mount root fs on unknown - block (0,0)"


Which is genuinely nonsensical - as there is no reason it should be looking there for my root file system - as my root file system is located at (0,1) or (hd0,1) in grub speak.

My menu.list is set out as follows:

Code:
title      Debian GNU/Linux, kernel 2.6.18-kanotix-1
root      (hd0,1)
kernel      /boot/vmlinuz-2.6.18-kanotix-1 root=/dev/sda2 ro

title      Debian GNU/Linux, kernel memtest86+
root      (hd0,1)
kernel      /boot/memtest86+.bin

### END DEBIAN AUTOMAGIC KERNELS LIST
title Windows 2K/XP/2003 (sda1)
chainloader (hd0,0)+


I have removed the VGA lines and I have disabled splashy - because they weren't working properly and were interfering with the boot process - and I wanted to see what was happing when I was booting up.

The question is, why is Grub looking at the wrong partition for my root file system? The partition it's looking at has Windows on it. (I plan to remove it as soon as I have a working Linux install).

Also why would it suddenly behave like this? I changed nothing, I did nothing other than reboot. It worked 20 times before that. So why quit now?

If it is any help I am using a laptop with a SATA interface. (No IDE drives).

Can anyone offer any input?


Zuletzt bearbeitet von jebus197 am 28.11.2006, 22:31 Uhr, insgesamt 4 Male bearbeitet
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
jebus197
Titel: RE: Rat  BeitragVerfasst am: 27.11.2006, 15:44 Uhr



Anmeldung: 26. Nov 2006
Beiträge: 85

Well I reinstalled grub - and that appeared to 'fix' it - although I have no idea why Grub would behave in this way to begin with.

I'm not sure how long it will last, but hopefully it won't happen again.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
wegface
Titel:   BeitragVerfasst am: 27.11.2006, 17:56 Uhr



Anmeldung: 02. Nov 2005
Beiträge: 127

Grub labels partitions differently to the kernel, just to cause extra confusion maybe?

_________________
Linux user 403389 and Herbaholic Trichopath
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
jebus197
Titel:   BeitragVerfasst am: 27.11.2006, 18:08 Uhr



Anmeldung: 26. Nov 2006
Beiträge: 85

I have no idea my friend. There was no reason for it to happen. In any case I have moved Grub from my MBR to /dev/sda2 (Or (hd0,1) in grub speak) - which is my root partition and have made this partition active - so hopefully this will be more reliable.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
jebus197
Titel:   BeitragVerfasst am: 28.11.2006, 13:25 Uhr



Anmeldung: 26. Nov 2006
Beiträge: 85

Dammit - no... It's still occasionally refusing to start. So far if I leave it off for a few minutes and then try again, it will work - but I wonder - is there and commands I can pass on he Grub command line to make booting any more reliable?

I am using a SATA drive (and indeed my laptop ony has a SATA interface).
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
hubi
Titel:   BeitragVerfasst am: 28.11.2006, 13:52 Uhr



Anmeldung: 22. Jan 2006
Beiträge: 1296
Wohnort: Budapest
If you have splashy, disable it. Either through h2's script or edit as root /etc/default/splashy and set
Code:
ENABLE=0
Helped here.

hubi

_________________
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
jebus197
Titel:   BeitragVerfasst am: 28.11.2006, 15:51 Uhr



Anmeldung: 26. Nov 2006
Beiträge: 85

Yes I already diabled Splashy some time ago. That doesn't seem to be what is cauing it.

Splashy had it's own problems in that it would often halt the booting process 3/4 of the way through - and in order for boot to continue you had to press escape then alt+F1 to drop to a prompt. Boot would then continue normally. Spashy has always been poor and has always had bugs - so I don't know why Kano decided to include it. It's certainly not the first time I've seen it halt a booting computer - which in my view for such a simple graphical utility is simply not a good thing at all.

But this is not the same issue.

In this case Grub (and specifically grub) occasioally reports that it cannot find my root partition - and indeed sometimes it seems to even be looking on the wrong partition in that it reports trying to load my root file system from (hd0,0) instead of (hd0,1). This is clearly wrong as my Grub menu.list is set out as follows:

Code:
title      Debian GNU/Linux, kernel 2.6.18-kanotix-1
root      (hd0,1)
kernel      /boot/vmlinuz-2.6.18-kanotix-1 root=/dev/sda2 ro

title      Debian GNU/Linux, kernel memtest86+
root      (hd0,1)
kernel      /boot/memtest86+.


Which is correctly formatted for my appropriate root partition.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
jebus197
Titel:   BeitragVerfasst am: 28.11.2006, 19:57 Uhr



Anmeldung: 26. Nov 2006
Beiträge: 85

Hi, is it possible to perhaps make a CD that I can use to boot my computer properly?

I can't use a floppy drive, as my laptop does not have a floppy drive.

This is really an unusual situation for me - as normally on every other computer I have owned Grub has always been 100% stable and reliable.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
Beiträge vom vorherigen Thema anzeigen:     
Gehe zu:  
Alle Zeiten sind GMT + 1 Stunde
Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
PNphpBB2 © 2003-2007 
 
Deutsch | English
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2004 - 2006 by Jörg Schirottke (Kano).
Consult Impressum and Legal Terms for details. Kanotix is Free Software released under the GNU/GPL license.
This CMS is powered by PostNuke, all themes used at this site are released under the GNU/GPL license. designed and hosted by w3you. Our web server is running on Kanotix64-2006.