Error message after BIOS | unknown filesystem
I installed Kubuntu 10.04 last couple days ago.
Yesterday I installed some package software, After reboot, I had problem to login in GUI in Kubuntu. I tried few solutions in web I found, Now It became more worse ! After BIOS - show this error message error : unknown filesystem grub rescue> anyone can help ? Thanks. |
|
Hey andrew thank for reply,
I tried | SIMPLEST - Copy GRUB 2 Files from the LiveCD It seem doesn't work. Here is what I got after followed the commands. ubuntu@ubuntu:~$ sudo fdisk -l Disk /dev/sda: 320.1 GB, 320072933376 bytes 255 heads, 63 sectors/track, 38913 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x69f17e12 Device Boot Start End Blocks Id System /dev/sda1 1 5 40131 de Dell Utility /dev/sda2 6 1918 15360000 7 HPFS/NTFS /dev/sda3 * 1918 36486 277668259+ 7 HPFS/NTFS /dev/sda4 36486 38914 19502081 5 Extended /dev/sda5 36486 38807 18642944 83 Linux /dev/sda6 38807 38914 858112 82 Linux swap / Solaris ubuntu@ubuntu:~$ sudo mount /dev/sda5 /mnt mount: you must specify the filesystem type ubuntu@ubuntu:~$ sudo grub-install --root-directory=/mnt /dev/sda /usr/sbin/grub-probe: error: cannot find a device for /mnt/boot/grub (is /dev mounted?). No path or device is specified. Try `/usr/sbin/grub-probe --help' for more information. Auto-detection of a filesystem module failed. Please specify the module with the option `--modules' explicitly. |
Code:
sudo mount /dev/sda5 /mnt Code:
mount: you must specify the filesystem type You might also want to add Code:
-t ext4 |
Hello weidemmu and welcome to LQ,
referring to the errormessage you've a kernel which does not support the ext4 file-system, i.e. the kernel is too old to handle ext4, or the partition /dev/sda5 is not formatted (which seems unlikely). In order to check if the kernel of the live-CD supports ext4 filesystem you'll have to find the .config file for the kernel, either in /usr/src/linux or in /boot and execute the command Code:
grep -i ext4 nameoftheconfigfile If the kernel of the live-CD supports ext4 with a module, it may be that the module is not loaded, you can load it with Code:
modprobe ext4 |
Andrew - I added the trailing, output still same.
I issued command -t ext4 ubuntu@ubuntu:~$ sudo mount -t ext4 /dev/sda5 /mnt mount: wrong fs type, bad option, bad superblock on /dev/sda5, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so Markus - Here is the result ubuntu@ubuntu:~$ grep -i ext4 nameoftheconfigfile grep: nameoftheconfigfile: No such file or directory ubuntu@ubuntu:~$ modprobe ext4 FATAL: Module ext4 not found. Thank for kindly help, I wish you two can help me further. Could you brief describe commands ? Thanks. |
Well, I meant you should search for the configfile and substitute the word nameoftheconfigfile with the real config-file. It normally resides as ".config" in the /usr/src/linux directory, but I'm not sure if this is true for your live-CD. As an example. On my machine:
Code:
samsung:/usr/src/linux# grep -i ext4 .config Markus |
1 Attachment(s)
I cant login in to Kubuntu.
After BIOS, It jump to grub prompt grub > What commands I can use in this prompt to get me in Kubuntu ? I cant find the directory by using live-CD. I have attached a .txt for boot info script, see what can help. |
You have legacy grub (0.97) and not grub2. You should follow these instructions for reinstallation.
https://help.ubuntu.com/community/Gr...talling%20GRUB You seem to lack a /boot/grub/menu.lst file. What exactly have you done? What version of Kubuntu is this? You state in the first post that it is 10.04, but then there would be grub2 and not grub. |
I'm using Kubuntu 10.04 LTS Desktop Edition
I'm not sure what I had done cause this. I was having problem after installed Kubuntu with Window Vista last 3 days ago. First time reboot was no problem, I logged in Vista. 2nd time reboot failed. I got this message : " no module name found Aborted. Press any key to exit. Broadcom UNDI PXE-2.1 v11.0.9 Copyright (C) 2000-2009, Broadcom Corporation Copyright (C) 1997-2000, Intel Corporation All rights reserved. PXE-E61 : Media test failure, check cable PXE-M0F : Exiting Broadcom PXE COM. Operating System not found" I found this solution at one web I boot my Live-cd and issued this commands sudo mount /dev/sda5 /mnt sudo grub-install --recheck --root-directory=/mnt /dev/sda problem solved, but once I login Vista and reboot, problem come. I tried few times above commands. Last 2 days ago, I did commands to install desktop screen recorder - xvidcap. sudo apt-get install xvidcap After reboot, current problem come. |
Hey, Andrew
I followed reinstalling using GUI. Selected manuall partition. I click on my linux partition sda5 Which mount point should I select ? I selected /boot , after that I select forward Error Message : No root file system is defined. Please correct this from the partitioning menu. |
You don't have a separate /boot partition so you should choose /.
Furthermore, I think that your Dell recovery partition is overwriting the mbr ( https://bugs.launchpad.net/ubuntu/+s...b2/+bug/482757 ) . See this post for a fix. http://ubuntuforums.org/showthread.p...12#post9081112 For future reference, this is a great grub2 thread: http://ubuntuforums.org/showthread.php?t=1195275 |
Andrew,
By selecting mount /. will it delete all files in my Kubuntu partition ? like picture,video,doc. |
Is this a Kubuntu 10.04 LiveCD? If it is, then I am not sure that method will work.
I am unsure how you got grub on your HD. I would install grub2 from within a chroot. Using METHOD 3 - CHROOT : again from https://help.ubuntu.com/community/Gr...0from%20LiveCD except that you don't have grub2 installed so you must install it first. You could either cut and paste the mount commands into the terminal one at a time or copy the entire thing (including the #!/bin/bash) into kwrite and save it to your liveCD desktop as chroot, and make it executable. Then, after switching your terminal to the directory that contains the file, run the file by typing Code:
./chroot Code:
#!/bin/bash |
Hi,
I don't think this will work. One has to mount the devices before chrooting! I would use the following Code:
mount /dev/sda5 /mnt Markus |
All times are GMT -5. The time now is 05:16 PM. |