LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-14-2016, 03:13 PM   #1
lazymonk
LQ Newbie
 
Registered: Mar 2016
Location: Tucson
Distribution: Debian sid
Posts: 6

Rep: Reputation: Disabled
Question grub rescue> errors unknown filesystem, unknown commands, no live boot


My first post here and I'm detecting a crisis... I was running Ubuntu based GoBang and got frustrated with not being able to work as su, root. Thant and that synaptic was unavailable. So went t looking for a debian based system with openbox wm and found Semplice. During the install process, during the formatting of the partitions it all just stopped. I've only been working with linux for two years... newbie. When I rebooted I got 'grub rescue'. Read through numerous tutorials for solving this problem but nothing finished the way I had hoped. 'set prefix..., insmod.... I get 'unknown filesystem'. set root... the same. ls brings up (hd0) (hd0,msdos2) (hd0,msdos1). I did the search looking for grub or a booting divice of some kind somewhere, got nothing but, unknown filesystem.

began the process, set prefix=... insmod (hdo,1)/boot/grub
I get unknown file system.

began insmod part_msdos, insmod ext2, insmod gzio
Again, inknown filesystem.

now, set root=(hd0,1), linux/boot/vmlinuz....
I get unknown command 'linux'

initrd/boot/initrd.img...
boot
I get unknow command 'initrd.

I'm stuck. Someone suggested a low level format, but I don't want to start that when I don't have the right commands.

Thank you for your time...
lazymonk
 
Old 04-14-2016, 03:34 PM   #2
alberich
Member
 
Registered: Apr 2016
Location: Bavaria
Distribution: Slackware
Posts: 140

Rep: Reputation: Disabled
I stick to paradigm of sunk costs.

When I try to fix it up for 6 hours, then I stop and reinstall. Because it's better to reinstall and -configure in another 4 hours (=10 hs), than trying another 6 hours to no avail, plus reinstall 4 hours (all in all =16 hs).

I did it twice in the last 48 hours.

Also I found out it is no use using a filesystem (I chose jfs last time for / and /home) that no Linux live system or any system in the whole world can write to, but most can't even read OOTB. So now I'm back with ext4.

Have fun.

Last edited by alberich; 04-14-2016 at 03:39 PM.
 
Old 04-14-2016, 03:59 PM   #3
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, fedora ,Xubuntu, others
Posts: 5,881

Rep: Reputation: 1146Reputation: 1146Reputation: 1146Reputation: 1146Reputation: 1146Reputation: 1146Reputation: 1146Reputation: 1146Reputation: 1146
Quote:
During the install process, during the formatting of the partitions it all just stopped.
If it froze during the formating of partitions and depending on what you selected when setting up the partitions to use for installation could mean lost of data. If data needs to be recovered it may be possible with a live rescue disk. If no data needs to be recovered then start over with the installation again.
 
Old 04-14-2016, 05:13 PM   #4
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 9,627

Rep: Reputation: 2157Reputation: 2157Reputation: 2157Reputation: 2157Reputation: 2157Reputation: 2157Reputation: 2157Reputation: 2157Reputation: 2157Reputation: 2157Reputation: 2157
Did you install Semplice over Goband or were yo trying to dual boot?

Quote:
began the process, set prefix=... insmod (hdo,1)/boot/grub
Is that a typo here because that is a lower case letter o (hdo,1) and not a zero so that will never work.

After linux and before /boot.. and after initrd and before /boot you need a space. Are these typos or are you actually typing it that way?
I don't know anything about Semplice but you could do an online search for 'bootinfoscript' download and run it and post the output here as it will give more details on exactly what you have.
 
1 members found this post helpful.
Old 04-14-2016, 08:29 PM   #5
lazymonk
LQ Newbie
 
Registered: Mar 2016
Location: Tucson
Distribution: Debian sid
Posts: 6

Original Poster
Rep: Reputation: Disabled
excuse my typing

Ok, sorry about that. I sent the info last time under the pressure of limited time at the public library. I'll give you something complete and correct this time.

set prefix=(hd0,1) /boot/grub
insmod (hd0,1) /boot/grub/linux.mod
[error unknown filesystem]
insmod part_msdos
insmod ext2
insmod gzio
[error unknown filesystem]
set root=(hd0,1)
linux /boot/initrd.img-3.0.0-1-686-pae /root/dev/sdXX ro
[unknown command 'linux']
initrd /boot/initrd.img-3.0.0-1-686-pae boot
[unknown command 'initrd']

And that is where I had stopped. I did get a list (ls) of the partitions.
(hd0), (hd0,msdos2), (hd0,msdos1)
And when I went to search where the boot loader might be I got [unknown filesystem] every time.
 
Old 04-14-2016, 08:46 PM   #6
lazymonk
LQ Newbie
 
Registered: Mar 2016
Location: Tucson
Distribution: Debian sid
Posts: 6

Original Poster
Rep: Reputation: Disabled
There is no need to save data. The important stuff is on a 64G stick drive.
I tried to install gparted and after I booted and nothing happened.
Any ideas on the 'unknown command' issue?

lazymonk
 
Old 04-14-2016, 09:35 PM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 20,181

Rep: Reputation: 3755Reputation: 3755Reputation: 3755Reputation: 3755Reputation: 3755Reputation: 3755Reputation: 3755Reputation: 3755Reputation: 3755Reputation: 3755Reputation: 3755
If you have re-formatted the partitions, there is no boot code to find (on the hard disk). Nothing will work except the commands in-built in core.img (presuming grub2 which it looks like).

Be more explicit why you can't just use the liveUSB again. Make sure you have tried all the BIOS (presumably) options.
 
1 members found this post helpful.
Old 04-15-2016, 02:08 AM   #8
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 18,398
Blog Entries: 12

Rep: Reputation: 5621Reputation: 5621Reputation: 5621Reputation: 5621Reputation: 5621Reputation: 5621Reputation: 5621Reputation: 5621Reputation: 5621Reputation: 5621Reputation: 5621
if you get to grub rescue during the install, well that just shouldn't happen.
can you boot into the live system?
you should take a look how the disk is formatted right now, and maybe change that.
do you just want to use the whole disk for linux?
that should be a trivial click in the installer.
if the disk partitioning is somehow messed up, some installer might get confused by it, so it might be easier to "nuke" the drive with dd (see "wiping the MBR"; the other options take too long).

if you're still stuck, you might want to make some hardware analysis:
Code:
lspci -k
and post that here.

btw...
Quote:
Originally Posted by lazymonk View Post
So went t looking for a debian based system with openbox wm
i heartily recommend bunsenlabs!
 
1 members found this post helpful.
Old 04-15-2016, 02:30 PM   #9
lazymonk
LQ Newbie
 
Registered: Mar 2016
Location: Tucson
Distribution: Debian sid
Posts: 6

Original Poster
Rep: Reputation: Disabled
Wiping Disk

So, as you advised...

lspci -k
I get; Unknown command 'lspci'.

dd if=/dev/zero of=/dev/sda bs=M
I get; Unknown command 'dd'.

Why would there be such a command problem? This has been the case in a lot of what I key in after the failed install.

Thanks, lazymonk
 
Old 04-15-2016, 05:22 PM   #10
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 9,627

Rep: Reputation: 2157Reputation: 2157Reputation: 2157Reputation: 2157Reputation: 2157Reputation: 2157Reputation: 2157Reputation: 2157Reputation: 2157Reputation: 2157Reputation: 2157
If the install failed as described in your initial post, I don't really see how you could boot from the HD at all. Are you running these commands from the Live CD/flash drive? You would need to succesfully complete the install for anything to work.
 
Old 04-15-2016, 07:32 PM   #11
lazymonk
LQ Newbie
 
Registered: Mar 2016
Location: Tucson
Distribution: Debian sid
Posts: 6

Original Poster
Rep: Reputation: Disabled
rescue grup, etc. etc.

Ok, don't hate me for this, I am a newbie...

I overlooked something that I dismissed as I could find no way to read this. Let me know if this helps. This is the beginning of there message I have been receiving.

error: disk 'lvmd/8pxryf-dHdw-UpwF-Upq7-Z4jg-7JYO-131PVi/xKuGWK-gqk3-B0Co-voAc-Yr54-2VRM-0bFd0O' not found.
Entering rescue mode...
grub rescue>

Again, sorry for my lack.
lm
 
Old 04-15-2016, 10:27 PM   #12
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 20,181

Rep: Reputation: 3755Reputation: 3755Reputation: 3755Reputation: 3755Reputation: 3755Reputation: 3755Reputation: 3755Reputation: 3755Reputation: 3755Reputation: 3755Reputation: 3755
As you have been advised more than once now, there is nothing left on (most of) the hard disk. No commands, and the UUID has changed, so that message.
Re-read my previous post - you must boot a liveCD/USB to get around this; a re-install makes most sense, and will cause least angst.
 
Old 04-16-2016, 01:56 PM   #13
lazymonk
LQ Newbie
 
Registered: Mar 2016
Location: Tucson
Distribution: Debian sid
Posts: 6

Original Poster
Rep: Reputation: Disabled
BIOS

Sorry I didn't email last night, might have spared me the hostility. I did as you suggested going through the bios and was able to remove all error messages by trying to install Rescatux. However all I do get is...

SYSLINUX 4.07 EDD 2013-07-25 copyright (c)1994-2013 H. Peter Anvin et al

I am using uui for the boot loader.
perhaps there is a command for the next step. I downloaded a pdf on Grub 2 yesterday, I'll see what I can find. Thank you for your help!

lazymonk
 
Old 04-16-2016, 03:04 PM   #14
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 9,627

Rep: Reputation: 2157Reputation: 2157Reputation: 2157Reputation: 2157Reputation: 2157Reputation: 2157Reputation: 2157Reputation: 2157Reputation: 2157Reputation: 2157Reputation: 2157
Quote:
SYSLINUX 4.07 EDD 2013-07-25 copyright (c)1994-2013 H. Peter Anvin et al
That message is shown on boot when using the syslniux bootloader. If that's all you get then the creation of the bootable flash drive with UUI didn't work. The Universal USB installer is software to create a bootable flash drive.
 
Old 04-19-2016, 02:51 AM   #15
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 18,398
Blog Entries: 12

Rep: Reputation: 5621Reputation: 5621Reputation: 5621Reputation: 5621Reputation: 5621Reputation: 5621Reputation: 5621Reputation: 5621Reputation: 5621Reputation: 5621Reputation: 5621
lazymonk, i have the feeling you do not know the difference between:
  • "installing" a distro
  • booting a distro in live mode
  • creating a bootable medium

let's take a few steps back!

first, you have to get the disk image of your distro (usually some file ending in .iso) onto a usb (or a dvd, or a cd).
do you know how to do that?
have you done that succesfully?

then, you have to tell your computer to boot from that usb stick (this sometimes requires calling a bios boot menu, or changing settings in bios).
this is called "booting the live disk" or some such.
can you do that?

btw, rescatux is a distro, too, but it is not made to be installed on a computer hard drive.
however, for the tasks at hand, any live bootable distro will do.

please take your time to read this!
it took me some time to write it, too.
please answer all questions and requests with as much relevant detail as you can provide.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
error: unknown filesystem, grub rescue> at the time of boot after merging two partitions Rajesh Rakshe Linux - Newbie 13 11-10-2011 08:32 AM
unknown filesystem, grub rescue nork Linux - General 3 10-20-2011 06:15 PM
Grub rescue and unknown filesystem Brunel92i Linux - General 5 08-19-2011 03:20 PM
Unknown filesystem Grub rescue iPunchEm Linux - Newbie 6 05-24-2010 03:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration