[SOLVED] Error message after BIOS | unknown filesystem
Linux - NewbieThis 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!
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.
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 !
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.
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
grep -i ext4 nameoftheconfigfile
and post the output here.
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
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:
samsung:/usr/src/linux# grep -i ext4 .config
# CONFIG_EXT4_DEBUG is not set
you see, that ext4 support is configured as a module.
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
sudo mount /dev/sda5 /mnt/
sudo mount --bind /proc /mnt/proc
sudo mount --bind /dev /mnt/dev
sudo mount --bind /dev/pts /mnt/dev/pts
sudo mount --bind /sys /mnt/sys
sudo mount --bind /etc/resolv.conf /mnt/etc/resolv.conf
sudo chroot /mnt/ /bin/bash
# enter sudo apt-get install grub-pc here <ctl-d> or exit to quit
sudo umount /mnt/etc/resolv.conf
sudo umount /mnt/sys
sudo umount /mnt/dev/pts
sudo umount /mnt/dev
sudo umount /mnt/proc
sudo umount /mnt/