Grub Error 18: Unknown File System (Running from External Hard Drive)

Hey guys, I’m obviously new here and still pretty new to Linux let alone OPENSuse, but I will try to provide as much information as possible.

It started when I wanted to dual boot Windows 7 and Opensuse off of my netbook (No DVD/CD drive) I tried install suse from an external hard drive and I botched it. I ended up erasing EVERYTHING off of my internal netbook hard drive. Windows and all.

Well, I had a couple of other computers so I studied up and eventually successfully installed OpenSUSE 11.2 on my external hard drive (11.3 being the one that I accidentally erased everything with, so kinda scared of it) and now I want to install openSUSE 11.2 on my internal netbook hard drive.

I can not use disks

I can not use a flash drive (For some reason, even if I make it bootable, it will not load up, this could be because it’s actually a 8GB microSD card that is placed in a USB card reader.)

I can not use an external hard drive because that’s what I’m running suse off of.

I’ve tried reading up on how to install suse on another drive off of the hard drive and I’ve gotten as far as whenever I boot up the netbook with the suse external hard drive connected it will ask to boot into OpenSUSE, the Fail Safe, or to install OpenSuse. When I select to install it it gives me the Error 18 Unknown File system.

I’ve tried formatting the internal hard drive twice. One as NTFS and again as EXT4. Neither seems to effect it other than when it’s ext4 I can open it and it contains a Lost and Found folder.

When I interrupt the boot sequence by pressing c and going to the terminal and I use the root (hd +TAB command it tells me I have a hd0 and a hd1. The hd1 only has 1 partition which is ext4, which I’m assuming hd1 is the internal hard drive (I’m not sure how to check) and the hd0 is the external hard drive, which has three partitions. One with an unknown file system and two with ext4. When I try to enter the set up from the terminal it gives me the same error for any thing I put it (e.g. root (hd0,0) gives the same error as root (hd0,1), or root (hd0,2) and root (hd1,0)

Something like it cannot locate these two files I’m assuming it needs to boot. If anyone finds this relevant I’ll retry it and post the files its missing.

I’ve been searching for awhile and can’t find any threads that can solve my problem. From other threads, however, I have noticed that I should probably include my menu.lst, listed below

# Modified by YaST2. Last modification on Mon Jan 10 07:23:00 MST 2011
# THIS FILE WILL BE PARTIALLY OVERWRITTEN by perl-Bootloader
# Configure custom boot parameters for updated kernels in /etc/sysconfig/bootloader

default 0
timeout 8
##YaST - generic_mbr
gfxmenu (hd0,1)/boot/message
##YaST - activate

###Don't change this comment - YaST2 identifier: Original name: linux###
title Desktop -- openSUSE 11.2 - 2.6.31.14-0.6
    root (hd0,1)
    kernel /boot/vmlinuz-2.6.31.14-0.6-desktop root=/dev/disk/by-id/usb-Seagate_FreeAgent_Go_2GE7YBFF-0:0-part2 resume=/dev/disk/by-id/usb-Seagate_FreeAgent_Go_2GE7YBFF-0:0-part1 splash=silent quiet showopts vga=0x317
    initrd /boot/initrd-2.6.31.14-0.6-desktop

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 11.2 - 2.6.31.14-0.6
    root (hd0,1)
    kernel /boot/vmlinuz-2.6.31.14-0.6-desktop root=/dev/disk/by-id/usb-Seagate_FreeAgent_Go_2GE7YBFF-0:0-part2 showopts apm=off noresume nosmp maxcpus=0 edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 x11failsafe vga=0x317
    initrd /boot/initrd-2.6.31.14-0.6-desktop

title Install openSUSE
root (hd0,0)
kernel /boot/install/linux
initrd /boot/install/initrd

I have also ran the boot info script and received the RESULTS.txt file it generates. Listed below

                Boot Info Script 0.55    dated February 15th, 2010                    

============================= Boot Info Summary: ==============================

 => Windows is installed in the MBR of /dev/sda
 => Acer 3 is installed in the MBR of /dev/sdb

sda1: _________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info:      Operating System:  
    Boot files/dirs:   
sdb1: _________________________________________________________________________

    File system:       swap
    Boot sector type:  Windows XP
    Boot sector info:  
sdb2: _________________________________________________________________________

    File system:       ext4
    Boot sector type:  Grub
    Boot sector info:  Grub 0.97 is installed in the boot sector of sdb2 and 
                       looks at sector 8689286 of the same hard drive for the 
                       stage2 file. A stage2 file is at this location on 
                       /dev/sdb. Stage2 looks on partition #2 for 
                       /boot/grub/menu.lst.
    Operating System:  Welcome to openSUSE 11.2 
                       "Emerald" - Kernel ().
    Boot files/dirs:   /boot/grub/menu.lst /etc/fstab

sdb3: _________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info:      Operating System:  
    Boot files/dirs:   
=========================== Drive/Partition Info: =============================

Drive: sda ___________________ _____________________________________________________

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x67f4eb34

Partition  Boot         Start           End          Size  Id System

/dev/sda1                  63   312,576,704   312,576,642  83 Linux


Drive: sdb ___________________ _____________________________________________________

Disk /dev/sdb: 500.1 GB, 500107861504 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773167 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x00025800

Partition  Boot         Start           End          Size  Id System

/dev/sdb1                  63     4,209,029     4,208,967  82 Linux swap / Solaris
/dev/sdb2    *      4,209,030    46,154,744    41,945,715  83 Linux
/dev/sdb3          46,154,745   976,768,064   930,613,320  83 Linux


blkid -c /dev/null: ____________________________________________________________

Device           UUID                                   TYPE       LABEL                         

/dev/sda1        c304b4e7-23bd-4b21-83bc-17e50fffae06   ext4       test                          
/dev/sdb1        637777e5-3da0-4feb-9c54-890567e6bcab   swap                                     
/dev/sdb2        aa903e8f-1fa6-4716-bc12-426a41720f51   ext4                                     
/dev/sdb3        dfc1c55c-668a-4fdc-89a8-640e7b255a2c   ext4                                     

============================ "mount | grep ^/dev  output: ===========================

Device           Mount_Point              Type       Options

/dev/sdb2        /                        ext4       (rw,acl,user_xattr)
/dev/sdb3        /home                    ext4       (rw,acl,user_xattr)


=========================== sdb2/boot/grub/menu.lst: ===========================

# Modified by YaST2. Last modification on Mon Jan 10 07:23:00 MST 2011
# THIS FILE WILL BE PARTIALLY OVERWRITTEN by perl-Bootloader
# Configure custom boot parameters for updated kernels in /etc/sysconfig/bootloader

default 0
timeout 8
##YaST - generic_mbr
gfxmenu (hd0,1)/boot/message
##YaST - activate

###Don't change this comment - YaST2 identifier: Original name: linux###
title Desktop -- openSUSE 11.2 - 2.6.31.14-0.6
    root (hd0,1)
    kernel /boot/vmlinuz-2.6.31.14-0.6-desktop root=/dev/disk/by-id/usb-Seagate_FreeAgent_Go_2GE7YBFF-0:0-part2 resume=/dev/disk/by-id/usb-Seagate_FreeAgent_Go_2GE7YBFF-0:0-part1 splash=silent quiet showopts vga=0x317
    initrd /boot/initrd-2.6.31.14-0.6-desktop

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 11.2 - 2.6.31.14-0.6
    root (hd0,1)
    kernel /boot/vmlinuz-2.6.31.14-0.6-desktop root=/dev/disk/by-id/usb-Seagate_FreeAgent_Go_2GE7YBFF-0:0-part2 showopts apm=off noresume nosmp maxcpus=0 edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 x11failsafe vga=0x317
    initrd /boot/initrd-2.6.31.14-0.6-desktop

title Install openSUSE
root (hd0,0)
kernel /boot/install/linux
initrd /boot/install/initrd
=============================== sdb2/etc/fstab: ===============================

/dev/disk/by-id/usb-Seagate_FreeAgent_Go_2GE7YBFF-0:0-part1 swap                 swap       defaults              0 0
/dev/disk/by-id/usb-Seagate_FreeAgent_Go_2GE7YBFF-0:0-part2 /                    ext4       acl,user_xattr        1 1
/dev/disk/by-id/usb-Seagate_FreeAgent_Go_2GE7YBFF-0:0-part3 /home                ext4       acl,user_xattr        1 2
proc                 /proc                proc       defaults              0 0
sysfs                /sys                 sysfs      noauto                0 0
debugfs              /sys/kernel/debug    debugfs    noauto                0 0
usbfs                /proc/bus/usb        usbfs      noauto                0 0
devpts               /dev/pts             devpts     mode=0620,gid=5       0 0

=================== sdb2: Location of files loaded by Grub: ===================


   2.9GB: boot/grub/menu.lst
   4.4GB: boot/grub/stage2
   2.8GB: boot/initrd
   2.8GB: boot/initrd-2.6.31.14-0.6-desktop
   2.5GB: boot/vmlinuz
   2.5GB: boot/vmlinuz-2.6.31.14-0.6-desktop
=============================== StdErr Messages: ===============================

mdadm: No arrays found in config file or automatically

This has really been giving me a lot of trouble. I’d like to be able to use my netbook without shortening the lifespan of my external hard drive (it does not have an external power source). I’ve heard the Linux community is much more helpful than the Windows community, so if anyone could help me I’d very much appreciate it.

Is it possible for you to make a bootable USB pen drive? Ideally you need at least a 1GB drive

I assume you have access to another PC, probably running Windows?
Answer the above and I can advise

I’ve tried making a bootable usb drive but the only thing I have to work with is a 8gb microSD card that came with a USB reader.

And yes, I have a seperate laptop running windows 7 and a desktop running XP.

Also: Thanks for the quick response!!

8gb microSD card that came with a USB reader.
I have not worked with one of these as a boot device

I take it you didn’t get on too good?
Were you using UNetbootin - Homepage and Downloads
?

11.3 didn’t ‘Jeff’ things up, it’s installer is just like 11.2 - You can assume it’s down to what you did.

So have you been booting with your external HD? Is it a bootable image leading to a live desktop?

Sorry, I didn’t mean to make it sound like I was blaming it on 11.3, the only issue with that was that the MD5 on all of the .rpm files didn’t match up, or something like that.

As for the USB boot device, I’ve literally tried EVERYTHING I possibly could. Several times.

I’ve used UNetBootin, I’ve tried extracting the iso contents to the drive, I’ve tried just putting the iso onto the drive. I’ve tried it in NTSF and Ext4, I’ve tried mounting the iso in linux and extracting all the files onto the usb, and I’m sure I’ve tried several other methods, and the USB will not boot at all.

And the external hard drive has a full install of Opensuse. If you get what I mean. I can plug it into any computer with a usb port and run suse and have access to my files. (It’s a 500GB HD)

Get your hands on a pen drive and get the 11.3 live CD.iso and from your current SUSE install use it to ‘dd’ the .iso to the pen drive

Like this:

dd if=image.iso of=/dev/sdb bs=4M;sync

How big does the pen drive have to be? 1GB? Or over 4?

For the live cd, 1GB will be plenty
The live cd is 700MB~

Index of /distribution/11.3/iso

Also see this guide
SDB:Live USB stick - openSUSE

Thanks! I finally found a 2gb usb drive. I guess MicroSD boot just isnt supported. :stuck_out_tongue:

Let us know if you have any trouble
If dd doesn’t work for you, try unetbootin if you like. But be patient with this, it can be tricky.

I think you were getting these messages because an old version of the menu.lst was trying to start but it couldn’t find any of the HDs listed for grub.

Regarding the installation to the netbook did you create and format partitions for opensuse on the internal HD?
Or you could try a network install, install a boot grub that goes to the OpenSuse website and installs the packages from there.