Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm trying to install Ubuntu on my harddisk which doesn't contain any operating system, MBR or Grub. It has 3 partitions, 1st includes my data on NTFS file system, second is Linux swap now, and third ext4 filesystem.

Of course I don't want to lose my data on the NTFS partition. Anyway, I installed Ubuntu on ext4 filesystem, selected sda as device for bootloader (not sda1,2 or 2). But i got the error

Error:unknown filesystem
Grub rescue > 

I tried ls. It gives (hd0) , (hd,msdos1), (hd0,msdos2) and (hd0,msdos3).

then I tried ls (hd0)/, ls (hd0,1)/, ls (hd0,msdos2)/, ls (hd0,msdos3)/ to find the Linux filesystem to boot. But I was unsuccessful. It all gave me unknown filesystem error. Am I missing something?

share|improve this question
This guide might help you use the grub command line the way you want. –  MadMike Oct 24 '13 at 8:20
Thank you for your help. I was trying to install ubuntu and grub on a usb hard drive. After connecting the same hdd to sata port it worked flawlessly ;) –  redoano Nov 1 '13 at 15:06

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.