mount: unknown filesystem type ‘ext2’

今天改了一下 Linux 内核配置,编译好后要 cp 到 /boot 下,因此挂载了 /boot,结果命令提示出错:

# mount /dev/sda1 /boot
mount: unknown filesystem type ‘ext2’


和这位老外朋友遇到的情况一样,直接把文件系统转成 ext3 就可以了:

I usually make my boot partition ext2 because it doesn’t stay mounted and doesn’t get written to unless i’m installing a new kernel or tweaking the options like vga=0×317 or whatever. So having a journal is a waste and it may as well just be ext2. But strangely enough, when I boot, grub sees the boot partition, grub.conf, and the kernel and loads with no problem. But when I try to mount /dev/sda1 from a shell it doesn’t seem to know what i’m talking about! I can mount ext3 and other file systems just fine, but not ext2? I could dig around in the kernel config and figure out what’s missing, but that really didnt matter in this case, so here’s the quick and easy fix with no fishy side effects:

mygentoo ~ # tune2fs -O has_journal /dev/sda1

Now I can mount it from bash just fine… well, that was weird.

— EOF —

《mount: unknown filesystem type ‘ext2’》有18个想法

  1. That is very interesting, You’re an excessively skilled blogger. I have joined your rss feed and look forward to seeking more of your great post. Also, I’ve shared your website in my social networks|

  2. I precisely had to thank you so much once again. I’m not certain what I would have undertaken without the type of information provided by you concerning such area of interest. Previously it was a scary crisis in my view, however , taking note of the expert style you handled the issue took me to cry over happiness. I am just happier for your help and thus believe you find out what a great job your are accomplishing training people today via your web site. More than likely you’ve never encountered any of us.

  3. I think other site proprietors should take this website as an model, very clean and magnificent user friendly style and design, as well as the content. You are an expert in this topic!

  4. garcinia 75% coleus forskolin 250mg pacific naturals green coffee bean max organic acai berry powder mangosteen drink mix amazon hoodia gordonii plus ingredients psyllium seed powder pills chitosan and ckdr is guar gum a starch molecule how to take lipozene and metabo up resveratrol and ibs

  5. garcinia cambogia benefits pdf easy hcg customer reviews green coffee bean and weight loss reviews acai aduh sayang mp3 mangosteen juice and warfarin p57 hoodia gordonii china king buffet psyllium husk contraindications chitosan heparin protocol guar gum has cornelius hydroxycut gnc recall resveratrol health benefits and side effects


电子邮件地址不会被公开。 必填项已用*标注