Ubuntu Installation :: Image Restore Grub Rescue Command Line

Feb 25, 2010

I do computer forensics here in Afghanistan and I am trying to keep a clean image of a dual bootable hard drive. Here is what I try to do...

1. Boot into UbuntuLiveCD
2. I run "sudo dd if=/dev/zero of=/dev/sda conv=sync,notrunc bs=64K" to wipe the drive with all zeros.
3. I then install Windows by creating a new partician about 50GB.
4. I then install Linux by creating a partician in ext4 mounting it at '/' in addition I create a swap partician.
5. Next configure everything just the way I want it. I install all the drivers and software I need for my windows partician and build out the remaining part of the disc as a "data drive."
6. Then I use "dd" again to try to image my "clean slate" of a system. Remember I am dual booting. I dd the /dev/sda and gzip it.
7. When I go to restore it, I boot from the live CD again and unzip ig and "dd" it back onto /dev/sda.
8. I run fdisk -l and I get:/dev/sda1 * 1 6375 5120000000 7 HPFS/NTFS/dev/sda2 6376 11724 42965842+ 83 Linux/dev/sda3 11725 12453 ...... 82 Linux swap / Solaris.This means to me that it can "understand the file system"
9. But then when I take out the Live boot CD and try to get my "clean slate" machine back, the system goes into Grub Rescue mode with a grub command line "grub rescue>"
10. I tried using the tutorial on Grub2, but...
a. It would not understand the command "linux"
b. When I try to do insmod, it says it doesn't recognize the file system.

View 4 Replies


ADVERTISEMENT

Ubuntu Installation :: Asus EEE PC Restore Causes Grub Rescue

Feb 11, 2010

I had windows XP and Ubuntu installed on my Asus 1000HE and the hard drive is failing so I need to RMA it. They told me to restore it to factory defaults which I just press F9 at boot 3 time and Ghost takes over and reformats, creates 2 partitions and installs XP on one of the and the other is for another OS or just storage if needed.

I did that now I get a grub rescue prompt when I boot my netbook. Is there a way that grub installed itself to my PE partition that's a hidden partition that came with the netbook? I've taken the drive out of the netbook and put it into my desktop and formatted both main partitions but not the restore one. Yet I still get the grub rescue prompt, how can that be?? I can't even boot from flash drive or get to bios it just goes straight to the rescue.I need to send the netbook back but can't unless its restored. Right now I'm on the 9.10 live flash drive I made on my desktop and my only hard drive attached it the netbooks.

View 4 Replies View Related

Ubuntu :: Getting "GRUB Rescue No Such Device" Error - White Command Line

Jan 23, 2011

Tonight for the first time I tried to use Linux (Ubuntu). I installed it on to a small 100gb external HDD that I had just laying around. I thought I could do this without impacting my internal hard drive. I thought I could run Windows 7 normally when it wasn't plugged in and chose between Windows 7 or Ubuntu when it was. I installed it correctly (or atleast I thought). It worked fine but I then noticed I could only boot into Ubuntu or Windows 7 when it was plugged in. Having a laptop and going everywhere with it I could not tolerate it. When I tried to boot the system without the External HDD plugged in I would always get a "GRUB Rescue-No such Device" error and a white command line.

Confused I looked up how to uninstall Ubuntu, I got a windows recovery disc and deleted the partion off the External HDD. I then changed the BIOS settings so the CD would be booted first, well for whatever reason I get the same GRUB Error. It seems like I cannot boot into any CD Rom. Neither a recovery disc nor a Live CD. I got so frustrated I tried to system restore but it appears like the key command for that is also not working. I can't boot into anything and I'm stuck with the same Grub error. Im so confused and frustrated...I'm thinking about taking It to a pro and paying them to get it fixed or just calling it quits. I have no idea what I can do if Ibcan't boot from any CDs or any OSs.

View 9 Replies View Related

Ubuntu Installation :: Error "no Such Device" And Goes Into The Grub Rescue Command Prompt Screen - 11.04

May 16, 2011

I was dual-booting Ubuntu 11.04 just fine for about the last week but then ran into some issues and decided to reinstall Ubuntu. Now after the install I get this error: error: nu such device: d38af2a9-740e-4d3c-b267-2a3848e5d319 and it goes into the grub rescue command prompt screen. I have tried to reinstall Ubuntu about 6 times now, complete installs. I have tried changing boot priority multiple times. I installed off a thumb drive and left the thumb drive in after install, took it out after install.

View 9 Replies View Related

Ubuntu Installation :: Computer Boots Into Grub Command Line

May 16, 2010

I just installed Windows 7 and it erased my Grub bootloader. I followed this tutorial: URL...And now when my computer starts up it goes to the Grub prompt: Code: grub>I guess I did not do the right partition but I'm having a lot of trouble getting it back to how it was where my computer at least loaded the Windows 7 loader.

View 1 Replies View Related

Ubuntu Installation :: After Update Boot To Grub Command Line

Sep 29, 2010

I recently updated, and now when I boot it only goes as far as grub command line. There is no grub menu. The computer is a Dell Inspiron 8600 laptop with only Ubuntu installed -- no dual boot, no weird partition schemes. Originally installed Ubuntu 09.04 on this computer, upgraded a couple times and it currently has (had) 10.04.1 LTS running. The update should have upgraded from kernel 2.6.32-23 to 2.6.32-24. I can boot with a live CD and mount the hard drive. The drive seems fine, so it appears to be simply a grub config issue. I have to boot with live cd to get online to check for potential solutions. So I'm taking some notes on how to use grub.

View 4 Replies View Related

Debian Installation :: 8.0 - Setup Boots GRUB Command Line

May 2, 2015

I wanted to install Debian 8.0 on my second hdd in my UEFI machine, but when I choose UEFI boot from USB, GRUB command line appears, and I cannot boot up the setup. I used Rufus to create the bootable USB stick, using the amd64 kde CD image. I tried several images and I deleted the Linux and Efi partitions from previous installation of Ubuntu . Also I deleted GRUB from the Windows 7 Efi partition.

In the UEFI setup fast boot and secure boot are disabled, and I don't seem to have the option to boot in legacy mode, if I choose the simple USB boot option (without "UEFI" in front) I get "please insert correct boot media, and press any key or reboot". I couldn't manually boot from GRUB command line, because it is showing that all the drives are empty, and if I type "boot" I get "please load the kernel first".

View 2 Replies View Related

General :: Edit Grub Menu From Initial Grub Screen - Possible To It's Own 'e' Option Or 'c' From Grub Command Line?

Nov 20, 2010

my Setup is Fedora 14 x64 + radeon hd 4830 i've downloaded .run package from ati site with latest driver for x64 systems. installed it, but didn't edited grub.conf becouse i didn't understood anything there (probably didn't spent enough time to get things understand) Now i've lost possibility to enter my Fedora system. during boot it lost it's modern blue boot screen (with filling drop), it was replaced by standard old boot screen with triple-color stripe. after this boot screen monitor start blinking going on and off. and on last step i'm getting "Fedora 14 boot bla bla bla something" on screen. nothing works except Ctrl+Alt+Delete. system reboots showing successful daemons shutting sequence. How can i edit grub menu from initial grub screen is it possible to it's own 'e' option or 'c' from grub command line?

View 4 Replies View Related

Ubuntu Installation :: Wubi Doesn't Boot - Loads Grub Command Line?

Jan 1, 2010

My Wubi installation of Ubuntu (version 9.10, I think) that I recently installed was working fine at one point, but now it isn['t. I select Ubuntu instead of Windows from the Windows boot loader, but instead of getting the usual menu of different linux versions (I think 2, as I updated it at same point), and Windows, I get the GRUB command prompt instead.I've looked at th2e Wubi Guide (https://wiki.ubuntu.com/WubiGuide), and I've followed the instructions for "How can I access my Wubi install and repair my install if it won't boot?", but that reveals no problems.For the record, I'm fairly new to linux and ubuntu, but I'm good with computers generally. The main operating system on my computer is Windows Vista, but I'm currently typing this from a Live CD of Ubuntu 9.10. The virtual disk (root.disk), is currently mounted as vdisk, as indicated in the Wubi Guide.

Ideally I would like to get Ubuntu to load as it used to (with a menu). However, if there is a way to boot from the GRUB command line that would be good too. I'm not at all familiar with GRUB, and the commands I've tried (boot and linux, I think), get errors saying no kernel specified, or loaded, or something like that.

View 2 Replies View Related

Ubuntu Installation :: Dual-boot On A RAID-0 Array - Drops To GRUB Command Line?

May 28, 2011

I've recently had trouble reinstalling my Ubuntu system as I was getting various unusual errors as described in my old thread here. I thought it was probably something to do with my RAID-0 array which was pre-installed on my laptop from purchase being corrupted or something like that (if it's possible). I decided to simplify things for myself (not understanding RAID arrays much) so I just removed the RAID array and installed Windows and Ubuntu on the now separate hard disks. It worked fine.

I noticed quite a significant performance drop, however, with even Ubuntu boots taking longer than 30 seconds despite my laptop being both high-spec and only a few months old. Windows, as you can imagine, was dreadfully slow. I wasn't entirely convinced that this was entirely due to the loss of the RAID array - as even low-spec laptops with presumably no RAID arrays are supposed to boot Ubuntu in under 30 seconds apparently - but I read that RAID-0 arra

View 8 Replies View Related

Fedora Installation :: Boot - Grub Drops Into Its Minimal Shell And Gives A Command Line

Jun 12, 2009

I'd like to say I'm very impressed with Fedora 11. I'm a long time Linux user and I've tried many distros. But, I usually keep only the best on my laptop. For a long time that was Ubuntu but, I think Fedora 11 has made some key improvements over Ubuntu and I'm eager to switch. The problem is: I haven't been able to run Fedora as anything other than on the Live CD. Everything works perfectly and it installs but, when I reboot, Grub begins. Instead of booting, however, Grub drops into its minimal shell and gives me a command line.

I've tried installing it a number of ways now and have read much about the problems with Ext4 on Grub and took special care to see that Grub has its own, separate, /boot ext3 partition. Even then, no luck. My hardware should work fine. I've got an HP DV-5 with 4GB RAM, AMD Turion 64-bit dual-core @ 2 Ghz, and an IDE 250GB hard drive. I'm working with the 64-bit Fedora 11 Live disc with KDE as the Gui.

View 10 Replies View Related

General :: Grub Rescue No Such Partition, No Command Except Ls And Set Working?

Sep 27, 2010

I have both windows7 and Linux 10.04 installed in my system. The problem occurred on a forced shut down.The message which is appearing on the screen isgrub rescueNo such partitionNo command other than ls and set are working. Set shows root to be in (hd0,6). ls is not listing (hd0,6)The ls is not able to read any of the partition it lists and shows error:unknown file system.

View 1 Replies View Related

Ubuntu Installation :: Grub Rescue Mode - Error: Cannot Find A Device For /boot/grub (is /dev Mounted?)

Dec 16, 2010

I updated yesterday and now when I start my laptop it goes in to grub rescue mode. I have booted from a 'live cd' and thought I could repair grub from there. In gparted however the partition with ubuntu (sda1) is seen as unknown file system, in terminal when I list the partition table it shows up as FAT16 type. When I try a grub-install it gives this error message:

[Code]....

View 9 Replies View Related

Ubuntu Installation :: Load GRUB From Grub Rescue Prompts?

Apr 11, 2010

First the hard data:

Upgraded from Ubuntu 9.04 to 9.10 via upgrade manager
System is AMD 64
Have dual boot with XP on seperate hard drive

[code]....

Then the wheelspin:

Seem to have knocked out GRUB as normal loading screen does not appear anymore.
Worse, I think I accidently installed grub to something labelled SDC5.

Cannot get anything except the "grub rescue" prompt. I'm not sure if using the LiveCD (9.10) can help. Have tried a few prompts from other threads but just ended up with mud splattered all over the place. I'm gathering I need to load grub, but can I do it using any grub rescue commands?

View 9 Replies View Related

Ubuntu Multimedia :: How To Save A Web Image From Command Line

Jun 9, 2010

How do I save it as a jpg somewhere on my puter using a script? I can wget, but it gets saved as a .evif, which is totally useless. I can right-click on the image in a browser and use the context menu to save it as a jpg, but I want this process automated. How can I DL this image and save it as a jpg? GIMP's CL options don't include the capacity to save/convert this image, though it's possible from teh GUI. ImageMagick won't read this dynamic URL. What do I do?

View 3 Replies View Related

Ubuntu :: Use The Grub Command Line To Reinstall Grub From A Cd?

Jun 2, 2010

Can I use the grub command line to reinstall grub from a ubuntu cd?

View 1 Replies View Related

Fedora :: GRUB :: Menu.lst :: GRUB Starts In Command Line?

Dec 1, 2010

Code:

grub-install -v
grub-install (GNU GRUB 0.97)

I loaded GRUB, and now when I reboot it goes straight into the 'grub>' command line. Initially GRUB had the root as (hd0,2), whereas the boot is on (hd0,1)...(hd0,2) is my '/home' partition, and (hd0,1) is my '/' partition... So on a bootup I ran...

Code:

root (hd0,1)
setup (hd0)

Now when I boot I still get the 'grub>' command line, but now the root is correct.

From 'grub>' I can type...

Code:

grub> configfile /boot/grub/menu.lst

GRUB will then show the menu, and I can click the listings to load them. All's fine, but why doesn't GRUB just load the menu.lst without my prompting? How can I automate this process of typing 'configfile /boot/grub/menu.lst' each time I boot?

View 1 Replies View Related

Fedora :: Create An ISO Image Out Of A Directory From Command Line?

Feb 7, 2010

I am implementing a strategy to organize my data among the several machines I work with and thought that getting some ISO images out of it could be a good idea because that way data would be 'read only' thus allowing for easier synchronization.

At first I thought of using the "dd" command to create the ISO out of a directory, but it fails code...
So, I have two questions:

Is the ISO 'format' capable of storing complex directory structures with long filenames (pretty much as any Linux filesystem does), or are there some inherent limitations?

Supposing the ISO format is not constrained, which command would allow me to create an ISO file out of a directory?

View 5 Replies View Related

Software :: Get Rid Of Grub, From Grub Command Line Preferably?

Mar 10, 2011

I can only boot fedora and red hat on my pc, I like fedora but Im having acpi problems and need to upgrade BIOS, which should be done from windows I hear. So I deleted fedora partition and plan on re-installing after all this.I've used http://www.ultimatebootcd.com/Iboot loads up but than complains of not finding something with acpiI tried knoppix but i think i was suppose to extract before I burned Ill try again if suggestedany ideas on how to get windows up i've tried many windows disc to no success

View 10 Replies View Related

Ubuntu Multimedia :: Take Screenshots And Copy Image Files To Clipboard From The Command Line?

Feb 17, 2011

install imagemagick python, and pygtk.

Code:

sudo apt-get install imagemagick python pygtk

Now save the following script somewhere as imgclip.py. This is a simple python script which takes an image file and puts it in the gnome-clipboard.

Code:

#! /usr/bin/python
import pygtk
pygtk.require('2.0')

[code]...

View 1 Replies View Related

Ubuntu Installation :: Take Image Of A Machine And Restore It?

Jan 2, 2010

How can i take a image of my Ubuntu machine. I have used Norton Ghost to take image of my C drive (that contains windows XP). Is there any software available that can do the same for my Ubuntu machine?

View 3 Replies View Related

Debian Multimedia :: Save Image From Clipboard Into File Using Command Line?

Apr 28, 2011

Can save an image from clipboard into file using command line?
may be image magic?

View 3 Replies View Related

Fedora Installation :: Image Backup And Restore

Aug 27, 2009

My laptop is Windows XP Fedora 11 dual boot. I am replacing it because of a defect. The original laptop is fairly new so I could simply start from scratch and setup everything again. But I was thinking there might be a way to do an image backup and restore. My new laptop will be identical to the old one

View 1 Replies View Related

Ubuntu Installation :: Does Installing - Destroy Digital-image Restore

Jun 4, 2010

If I partition and install Ubuntu on part of my pc's hardrive, would the digital image factory-settings restore feature still be available? If so, and if used, would a factory restore use 100% of the hardrive and erase the Ubuntu install?

View 3 Replies View Related

Ubuntu Installation :: How To Boot From 'grub Rescue'

Jun 5, 2010

I've got Ubuntu 10.04 installed on one partition, and Windows Vista on another. I was messing around with my partitions, and now I can't boot to either one. I just get an error when I boot up on GRUB which says "error: no such partition", and then a prompt saying 'grub rescue>'. I've read up on other people's posts, and they said that I should reinstall GRUB from a livecd, but that doesn't look like it does anything. It seems that GRUB is trying to boot from hd0,8, and that doesn't exist anymore. I can change the 'root' and 'prefix' variables to the right partitions, but the 'boot' or 'chainloader' command doesn't work. You should be able to boot from 'grub rescue>', because that's what it's for, right?

I just want to be able to boot into Ubuntu, not Windows.

PS: Sorry if I'm specifying way too much information(or not enough), I'm fairly new to forums.

View 6 Replies View Related

Ubuntu Installation :: Grub Rescue Won't Read From USB

Mar 19, 2011

I've tried reading other threads about grub rescue but it seems like it only works if the USB stick can actually be read. Sorry if I sound dumb, I'm really new to all of this.I installed Jolicloud (it's based off Ubuntu, apparently) to dual boot with Windows 7 which I got with my netbook. When I tried to get rid of Jolicloud, I think I accidentally deleted a partition-- now whenever I boot up my netbook, I get the black "grub rescue" screen of death.

I tried getting the netbook to boot from my USB but it won't do it. The USB light flashes but nothing happens. I know there's things in there because I can boot from the USB using my desktop. Jolicloud was initially installed from the USB so I don't know why it won't read it anymore.

View 1 Replies View Related

Ubuntu Installation :: GRUB-RESCUE On Upgrade From 10.10 To 11.04?

Apr 30, 2011

The day that the upgrade came out (not beta, the true release) I upgraded via the Update Manager. The upgrade went great until it asked me to reset to finalize. Upon doing that, I was greeted with a less than friendly grub-rescue> screen. The materials I currently have at my disposal are a 10.10 installation disc, and an 8.04 installation disc, and a rescatux disc (super grub) that seems to yield an error upon any of the four options presented... how can I use these (both have Live CD) to fix the grub...

View 9 Replies View Related

Ubuntu Installation :: Grub Not Go Further Than Rescue Mode

Jun 30, 2011

I installed Fedora on my pc over Ubuntu and now Grub wont go any further than rescue mode. (Apparently grubs boot folder was on the Ubuntu partition. Now I see why a dedicated boot partition is handy.) I used VMware to install Fedora as im currently out of CDs. VMware is setup to use the Physical HDD for the primary HDD in the VM. (I made sure VMware disabled access to the windows partitions so the guest couldn't access them.)

I am in Windows 7 at the moment and am avoiding rebooting as that will basically lock me out of the only computer I have access to. I tried running the Ubuntu LiveCD to restore grub but dont know how to mount Fedoras LVM partitions. What can I do to repair grub or at least install an MBR that is capable of booting windows? I can boot floppies and cds using VMware but am not sure what to use to fix this.

Fedora LiveCD wont mount any of the partitions to install Grub
Ubuntu LiveCD may work if I can mount the LVM partitions.

View 9 Replies View Related

Ubuntu :: Installation On An External - Grub Rescue

Jan 7, 2010

I have windows 7 64bit on an internal harddrive, a larger internal harddrive for storage and a 1tb mybook external for storage. I have an ubuntu 9.10 iso burned to a cd that i got from the ubuntu site and I had previously installed dual boot successfully on my other computer, a laptop.

I went to install it on my desktop as well and when i was selecting how much space to allocate i noticed it was using the mybook and not the internal. I couldn't see an option to change which harddrive it used so in my ignorance i allocated 50gigs to ubuntu on my 1tb external mybook. This was obviously the wrong decision as after restarting the grub bootloader would not open and grub rescue came up everytime after that.

I have tried booting from the cd, reinstalling from the cd, and using a windows 7 repair cd. I can't even get into non installed version of ubuntu to try and use terminal. I have spent the 5 hours on the internet trying to figure out what to do and i have no clue. I want to get ubuntu off the mybook and get back on windows 7 where i can then reinstall ubuntu properly on one of my internal harddrives.

View 4 Replies View Related

Ubuntu Installation :: Device Not Found, Grub Rescue, Post-Installation Error

May 19, 2010

I just (for the first time ever) installed a version of Ubuntu. It is 10.04. I installed off of the Live Disk. I was having a great time until the first time I went to boot into it and I got the message
"Error: No such device: "long number" Grub Rescue> "

[Code]...

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved