Debian Installation :: Get Grub2 To Boot A Live System From Hard Disk
May 8, 2011
I have been frustrated attempting to get Grub2 to boot a Debian Live system from hard disk. Have set aside a 4gb partition /dev/sda1 to contain the Debian Live and some other recovery tools. I actually have them all working from a 4gb USB stick successfully, but getting it to work on my HDD has proved challenging. On USB, I have PartedMagic, Gparted, Grml, and of course my standard 6.01 Squeeze. I have also managed to get the Debian Live booting from that USB stick. Very slick.
However, I can NOT get Debian Live to boot from my HDD; altho all of the others above boot fine. Have tried it two ways - one using an iSO image, which is how it is done on my USB stick. The other attempt is to copy the entire contents of the ISO to a directory.
Here are my directory structures:
debian_live_gnome_squeeze_i386- contains the following: debian-live-6.0.1-i386-gnome-desktop.iso initrd.gz initrd.img vmlinuz which is how it is laid out on my USB stick debian_live - contains the files from the ISO image The error I get is something like "panic unable to find live filesystem" My grub.cfg snippet for the two methods I have tried - the 2nd menuentry is similar to how it works on the USB stick.
menuentry "Debian 6.01 Live (on /dev/sda1)" {
insmod part_msdos
insmod ext2
set root=(hd0,msdos1)
[code]....
Probly don't really need to get it working since PartedMagic can do almost everything I need for recovery and I can use the USB for reinstall or whatever else.
View 8 Replies
ADVERTISEMENT
Mar 7, 2010
i initilally installed ubuntu 9.10 then installed windows 7 ,then i recovered grub2 using livecd as told in the post [URL] i did "sudo update-grub" and got windows 7 menu entry but when i select that entry windows 7 does not load but the grub2 is reloaded again.
i cant boot to windows 7.
Windows 7 have 100 mb partition "System Reserved" the grub2 points to that partition but still windows 7 not loaded.
sudo fdisk -l
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x3c3a81f5
[Code]....
View 3 Replies
View Related
Nov 29, 2010
Is there a way to re-install grub on the master boot record of a hard disk using a live cd?If so will i have to configure it?I'm trying to install a linux distro on my ao751h(with poulsbo ) but i after installing it i can't boot.I get an error 15 or a flashing underscore.I have already tried ubuntu,debian,mint and slackware(LILO isn't compatible with poulsbo).Also,does anybody experience problems with the ubuntu 10.04 and 10.10 installers or is it only me?when i choose the language and keyboard settings the installation stop as it is and i get a crash report.
View 4 Replies
View Related
Jul 11, 2010
I downloaded Fedora-13-i686-Live-KDE.iso. Is there any way to install it from hard disk?
View 2 Replies
View Related
Feb 15, 2011
Is it possible to install the fedora 14 live to the hard disk and how?
View 7 Replies
View Related
Jul 28, 2010
I have a Fedora 11 Installed in my machine with customized packages and scripts. Now I want to create an ISO/Image of that installed FC11, so it can be used to install in multiple machines.
View 3 Replies
View Related
Sep 19, 2010
Its basically an old SATA Hard Drive with a Windows XP partition I was trying to sell.When my computer does the BIOS checks, it doesn't pass the SMART test (but I can boot it anyway), although I can't boot Linux in any way with this Hard Disk connected (I even tried Live CD distros, like Parted Magic).I can boot the XP partition from inside the disk, although I guess its pretty close to not being able to. Is there any way to "fix" this Hard Drive?
View 3 Replies
View Related
May 8, 2010
I'm having some problems booting ubuntu 9.10 and I just want to backup my files and install it all over again. I want to access my old files from the ubuntu Live CD, because no kernel is working. Is there a way?. Just in case, I don't have partitions, so I don't have a 'home' one (but I'm going to).
View 1 Replies
View Related
Aug 21, 2010
I installed an OS on the second hard-disk/partition3 (/dev/sdb3; OS was FreeBSD). Added the entry and when i boot: nothing. I choose the OS from grub's menu, the list of choices vanishes, the background image stays, and there it hangs. It hangs until i hit: ctrl+alt+backspace. I have thought: to hell with it, and installed Debian/Lenny. Same problem (OH!).
I also installed the boot-loader to the second disk (/dev/sdb), hit F11 after the BIOS-screen and chosen the second hard-disk to boot from: a similar problem. It hangs, and the keyboard is "dead". I am clueless what to check for (i checked the general culprits, but with UUID its all a bit of a mess. I would say it looks good, but wouldn't bet on it) Anyone ever heard of something like that? Without error message its not easy to use the amazing Google. I do a bit of grub-troubleshooting, usually it works, but usually i get error-messages.
I made two threads about it, in case they contain useful info, here they are:
http://www.linuxquestions.org/questions ... sd-827059/
http://forums.freebsd.org/showthread.php?t=17021
View 14 Replies
View Related
Jul 7, 2009
I have a sata 320 gb with mandriva linux 2009.1 on it.And it is what curently atached to my cpu. It is shown as 'sda' in the partition table.I also have another 40gb hard disk with windows xp installed on it.It is shown as 'hda' in the partition table . Now what i want to do is attach this 40gb hard disk to my pc and configure grub on my 320gb hard disk('sda') so as to boot windows xp(which is residing on the second hard disk,'hda')Can anyone tell me if what im doing is feasible or not? If it is feasible,can anyone suggest me how to get it working. I know i just need to add 2-3 lines to my grub.conf, but dont know what exactly i need to write.
View 3 Replies
View Related
Jun 10, 2010
Is there a way to install grub2 from a linux live cd when linux isn't installed on any of the partitions? I'm setting up a multiboot partition for someone and I don't want to install linux anywhere on the computer since hard drive space is running short.
View 2 Replies
View Related
May 21, 2011
I have a dual boot machine with WinXP/Linux Mint on it. I am looking to erase both of them and put up Ubuntu 11.04.
I have chosen to go with a live USB install for this. The live USB boots fine and everything seems usable. However, when I tried to install it would tell me that I do not have 4GB available for the install which seemed a bit weird since I have a 160GB Maxtor HDD.
After digging around a bit I realized that the system does not see my hard drive. Running fdisk -l would only show the USB drive that I am booting from and not the main HDD.
I tried to have a look in /dev to see if my HDD is there and not mounted. But aside from sda which is the USB I did not find an sdb or hd entry.
Has anyone encountered a similar problem while trying to install Ubuntu 11.04?
P.S.: The HDD works fine, I can see it in BIOS and in the other 2 OS-es that I have installed.
View 5 Replies
View Related
Feb 9, 2011
This is my specific solution to my specific problem. After updating to Squeeze from my prior Lenny distro (amd64 with whole disk encrytion using LVM2, dm-crypt, LUKS) everything went well - at first. I was duped like so many, thinking that all was well and I could remove the legacy-grub (aka: Grub1) and just use grub-pc (aka: Grub2). As soon as I removed the legacy-grub and rebooted my laptop, I was confronted with:
GRUB Loading stage1.5 GRUB loading, please wait..Error 15 At this point I wasn't sure if it was a Grub problem or a deeper encryption problem - especially after reading that some people had missing packages in Squeeze (lvm2, dm-setup, initramfs-tools, etc.)
Okay, the solution for me.
1. download and burn to disk: debian-live-6.0.0-amd64-rescue.iso[URL]..
2. scroll to and press enter/return on: text rescue
3. choose a root directory - for example: /dev/blah/root (I wrote down the list of possible /dev/.... for reference - this helped me remember where and what I had partitioned in Lenny)
4. choose: Execute a shell in /dev/blah/root
5. once in the shell, I discovered I needed to mount a few of those partitions that I had written down in order to get access to grub-probe, update-grub, grub-install, etc. You may not have to if your partitions are minimal. I you need to use other partitions, type (for example):
[Code]...
View 1 Replies
View Related
May 9, 2011
I have just finished building a new computer and it booted with no problems from the hard drive to ubuntu 10.10 (it was a hard drive from a previous computer and had ubuntu installed). After less than a minute though it froze up completely. I restarted and now cannot get ubuntu to boot. I get to GRUB with no problems but when I try to boot ubuntu I get a black screen with a blinking cursor in the top left corner and it hangs indefinitely.
I tried to boot from a live cd to see if there was anything I could do but I get as far as the screen to choose "Try Ubuntu" or "Install" and both choices leave me on a black screen with the mouse icon. I can move the mouse but nothing else. I have tried the Ubuntu 10.10 32 bit, 11.04 64-bit, 11.04 32-bit and even Mythbuntu, which I had on a cd from a magazine. I get the same result with all of these.
On the other hand, OpenSUSE 11.4 boots from the Live CD fine and I installed it and it boots from the hard drive. This is good news but I would much prefer Ubuntu, as I'm more used to it. Am I doing something wrong or have I any hope?
The computer specs are:
Processor: AMD phenom II X2 555
Motherboard: Asus M4A88TD V-EVO
Memory: G-Skill Ripjaws 4GB Dual channel
Hard Drive: Seagate Barracuda 200GB
View 3 Replies
View Related
Nov 23, 2010
Been using Linux for many many years but Grub2 is annoying the heck out of me at the moment.
My home desktop PC is set up as follows:
/dev/sda � 40GB 10k Raptor with Ubuntu 10.10 installed
/dev/sdb � 500GB HDD formatted to ext4
/dev/sdc � 500GB HDD split up as follows:
/dev/sdc1 � 80gb NTFS partition with Win7 installed
/dev/sdc1 � Remaining drive space NTFS but nothing on it yet
Grub2 refuses to detect that Windows is installed on the 3rd HDD. I've googled and spent hours trying all sorts of things to get it to detect it and add it to my boot menu.
If I disconnect all drives except the Windows drive it boots up straight into Win7, so it's healthy and happy. (as healthy and happy as Windows can be, I need it for work purposes only!)
Does anyone have any tips on what would be the best method to force grub to realise that Windows is sitting there?
As far as I understand, the Win7 partition should be (hd2,1) � does that sound right to you?
I haven't tried booting off an Ubuntu CD and re-installing grub, since I can get into Linux and all the guides seem to be about how to restore grub after a Windows install eats it...
View 5 Replies
View Related
Apr 5, 2014
I am not sure if this is the correct section but it has to do with a faulty HD. So, the datacenter confirmed that the HD needs to be changed. They put it back and asked me when they should replace it. I told them to wait a bit.
Since then, one of the VPS hosted in this server is booting on "initramfs"
This is the screen. [URL] ....
fsck is not working.
View 0 Replies
View Related
Jan 26, 2011
I have a very strange problem. My computer is unable to boot from any hard disk but is able to boot from any CD or DVD. I have double-checked the BIOS settings and I am unable to figure out why is this happening. I have noticed that the Windows installer boots from the CD only if one presses a key when the message "Pressany key to boot from CD..." is displayed on the screen, otherwise it boots from the first hard disk.I have a triple boot system with Windows 7 (64-bit), Ubuntu 10.10 (64-bit), and Fedora 14 (64-bit). I have a dedicated GRUB2 partion on one of my disks. What I want is a boot-loader (any would do) on a CD/DVD/USB drive to chain load the GRUB2 present on my hard disk, without a delay, that is, without showing any message, menu, warning, etc. So, is there a way to do that?
View 6 Replies
View Related
Aug 17, 2009
I have never used Linux before and know nothing about it . But my cousin installed a Fedoro linux CD on my laptop which previously had Lotus symphony . Unfortunately my laptop had single partition and so Linux overrode the old OS ,ie lotus symphony .
I have some critical data on my hard disk but I have no clue how to take backup this data using Linux . I desparately need this data .
Could somebody let me know how I can access this data and take the backup ?
View 4 Replies
View Related
Nov 10, 2015
I installed Debian 8.2 first, then Windows 10 over it (I know, backwards, but I didn't wish to lose my customizations on Debian up to that point, and didn't realize until later that I wanted to Dual Boot). Running from a LiveCD of Debian 8.2:
Code: Select allsudo fdisk -l
Device - Start - End - Sectors - Size - Type
/dev/sda1 - 2048 - 116211711 - 116209664 - 55.4G - Linux filesystem
/dev/sda2 - 116211712 - 116244479 - 32768 - 16M - Microsoft reserved
/dev/sda3 - 116244480 - 232421375 - 116176896 - 55.4G - Microsoft basic data
/dev/sda4 - 232421376 - 234440703 - 2019328 - 986M - EFI System
[code]...
That's where I am stuck. I'm a bit new to Debian & Linux still and I've never dabbled with Grub2, I imagine I can't mount /dev/sda4 because in chrooted into /dev/sda1 and it can't see /dev/sda4 at this point (what I'm thinking anyway). So I try:
Code: Select allroot@debian:/# fdisk -l
fdisk: cannot open /proc/partitions: No such file or directory/I imagine that's what it is, but I don't know a way around that. I want to dual boot Windows 10 & Debian 8.2 on a UEFI (or EFI?) system with a GPT Disk. No guide I have found for fixing Grub2 or getting Dual Booting working with Debian then Windows installed have covered both things at the same time. I just have to be special I guess.
View 1 Replies
View Related
Sep 26, 2010
This afternoon I finally had the time to run this Ubuntu KK CD and load over my old xp/Jaunty J partition. I had previously run the distro. through the CD, without harming my old partition. On doing so the system consistently reported my Toshiba ATA 120 gig hard disk had multiple bad sectors and was failing. As a true end user (who mucks only when necessary with the CLI) I just figured writing over the partition would end the failure. To be sure I ran Memtest8.66 v2.11 from the LiveCD; everything checked out fine. So I installed KK.
Or was I? Why did it still have the "Install ubuntu 9.10 ISO" icon on the left hand side of the screen? How did the CD come to whir when I tried starting apps like Open Office? Something wasn't right. So I rebooted, this time from the HDD. The start up looked predictable - there's that PXE-E361 Media Test Failure on some cable, I've been staring at that since I built the dual partition. But what's this? PXE-MOF: exiting EXE ROM. Huh? Oh and then the letter j..
This is a Toshiba Satellite A105 with a 200 gH 1gig Pentium M. When I boot the liveCD I get this trial environment that works fine. When I try installing from it I can even see that I'm writing over the previous, whole 9.10 partition I created this afternoon. Regardless when I boot from HDD I get that weird letter j..
I've checked on line for boot issues, and the forum too, but so far haven't seen an issue booting from the HDD, especially when the distro. is already loaded. What am I missing here, and how do I install it from a live CD environment?
View 9 Replies
View Related
Feb 15, 2010
I've run the install to hard drive program three times over and each time I get "disk boot failure". I believe I've got Grub to install to the mbr but I am not sure.
System:
Barton 3200+ with 1GB of DDR1
Asus A7V333
High Point hard disk controller
other items
All the hard drives are hooked to the High Point controller. It recognizes all of them that have power hooked up and read/writes to them. Two have 98SE installs, the third is where I'm trying to install Fedora 12 to get away from some problems I'm having with 98SE.
The BIOS is set up to boot from the "SCSI device" which means it's booting from the High Point controller. The High Point lets me set a boot mark, which, when set to the Fedora drive, yields the disk boot failure no matter what I do to it.
View 2 Replies
View Related
Feb 20, 2010
I accidently deleted my ubuntu partition, and when boot I get this message:GRUB loading.error:unknown filesystemgrub rescue>I can't get into my bios options either... I just see the MSI splash screen and it cuts right to this error message.
View 4 Replies
View Related
Feb 7, 2010
Can you install a live cd onto hard drive? I'm in a live environment now and don't see an install option.
View 10 Replies
View Related
Sep 23, 2010
I want to copy hard disk have ubuntu 10.04 and ext4 to 1000 hard disk for new 1000
View 2 Replies
View Related
Mar 30, 2010
I want to install ubuntu 9.10 DVD, I have the iso image, so i try to boot the installer from hard disk by adding this lines to my menu.lst.
Code:
title Install Ubuntu
kernel (hd0,0)/install-ubuntu/vmlinuz
[code]...
View 9 Replies
View Related
Jan 22, 2011
After installation of debian, using the squeeze net-installer, on a HP elitebook 6930P, i get the following error. "non-system disk or disk error"
It is right after boot process, and just when it should load grub. Grub is installed in the MBR. Windows7, is installed as well, and is not an option to remove. (Should not be the problem though).
/ is set with the bootable flag.
The installation went without any issues, and I have actually tried to install twice with the exact same thing.
View 6 Replies
View Related
May 25, 2011
Today I decided to give Fedora15 a shot, mainly because of Gnome3, and so decided to install it over my Ubuntu installation. This is my partition scheme:Two NTFS partitions for Windows;
One logical partition, which inside has:
/dev/sda5 for /boot
/dev/sda6 for /
[code]...
View 14 Replies
View Related
Aug 9, 2011
I saved wubi.exe to c: and when running wubi, I pointed it to my usb hard drive for installation of ubuntu. When I rebooted my PC, I got a message that there was no boot manager. Even cntl-alt-delete did not work, so I unplugged the pwr cord and battery and reconnected them. I interrupted the boot to get to BIOS and found that Ubuntu was first in the boot chain. Apparently, when it is, no boot manager is found. So I removed the usb from the pc and was able to boot into W7.
View 5 Replies
View Related
Mar 19, 2010
I'm having installation issues with linux. I'm trying to set up a dual boot with vista and linux. I prepared my computer by backing up my files and partitioning my hard drive, leaving 20GB for linux. I downloaded Linux Mint 7, and booted from USB (using the universal USB installer from pendrivelinux.com). All good, entered into linux and installed by following the prompts (selecting use largest unallocated partition to point linux to the partition). At this stage the screen cleared to just leave me with the desktop background.
I patiently waited for it to reboot which never happened. So I waited for 20mins or so, then shut the computer down because I couldn't think of what else to do. When I restarted (without using the livecd/usb) it just went straight to vista. I did a bit of reading and found it might have been something to do with vista taking over grub, and some of the tutorials suggested downloading EasyBCD. So I did that, here's the summary:
Code:
There are a total of 2 entries listed in the Vista Bootloader.
Bootloader Timeout: 30 seconds.
Default OS: Linux Mint 7
Entry #1
Name: Microsoft Windows Vista
BCD ID: {current}
Drive: C:
Bootloader Path: Windowssystem32winload.exe
Windows Directory: Windows
Entry #2
Name: Linux Mint 7
BCD ID: {default}
Drive: C:
Bootloader Path: NST
st_grub.mbr
Code:
Windows Boot Manager
identifier {9dea862c-5cdd-4e70-acc1-f32b344d4795}
device partition=C:
description Windows Boot Manager
locale en-US
inherit {7ea2e1ac-2e61-4728-aaa3-896d9d0a9f0e}
default {bbf9569e-31e5-11df-a844-91f7867d7949}
resumeobject {3fb6bf64-700d-11db-8409-0016d303c867}
displayorder {3fb6bf63-700d-11db-8409-0016d303c867}
{bbf9569e-31e5-11df-a844-91f7867d7949}
toolsdisplayorder {b2721d73-1db4-4c62-bf78-c548a880142d}
timeout 30
Windows Boot Loader
identifier {3fb6bf63-700d-11db-8409-0016d303c867}
device partition=C:
path Windowssystem32winload.exe
description Microsoft Windows Vista
locale en-US
inherit {6efb52bf-1766-41db-a6b3-0ee5eff72bd7}
recoverysequence {572bcd55-ffa7-11d9-aae2-0007e994107d}
recoveryenabled Yes
osdevice partition=C:
systemroot Windows
resumeobject {3fb6bf64-700d-11db-8409-0016d303c867}
nx OptIn
Real-mode Boot Sector
identifier {bbf9569e-31e5-11df-a844-91f7867d7949}
device partition=C:
path NST
st_grub.mbr
description Linux Mint 7
Now when I turn my computer on, I get options for vista and linux. Vista works fine, but if I select Linux Mint 7 I get an error that reads "cannot load from harddisk, insert systemdisk and press any key".
View 5 Replies
View Related
Dec 6, 2010
As a thin clint mode is possible on ubuntu ? like windows clint system login on to the server without hard disk...
View 1 Replies
View Related