Debian Installation :: GRUB Multi-boot Config Does Not Work On Physical Machines

Mar 26, 2016

I wrote a GRUB multi-boot configuration so I can boot multiple distributions and have storage space on one 32GB flash drive.

set imgdevpath="/dev/disk/by-label/multiboot"

Code: Select allmenuentry 'Debian Jessie amd64' {
        set isofile='/iso/debian-8.0.0-amd64-DVD-1.iso'
        loopback loop $isofile
        linux (loop)/install.amd/vmlinuz
        initrd (loop)/install.amd/initrd.gz
}

This works in virt-manager when I boot the physical usb device a virtual disk with a usb bus and it works flawlessly, but when I plug it into a physical machine the cdrom detects fails to mount /dev/sdb1 as fstype=iso9660.

View 14 Replies


ADVERTISEMENT

Debian Installation :: GRUB Missing OS On Multi Boot

Oct 29, 2010

I just netinstalled Squeeze to a netbook with Windows7. The installation went well without any problem. Linux is also working OK. When I boot now, grub does not show Windows7. I took default settings during installation. I mean I did not do anything special. What should i do to fix it? Should I run osprober and grub-update?

View 3 Replies View Related

Debian :: Multi Boot System - Grub / Boot Control

Mar 25, 2010

I have Lenny, and Jaunty Jackaope installed on the same hdd. Jaunty Jackaope was installed 2nd so it has control of grub (I don't know if that is the correct expression) I want to remove Jaunty Jackalope however I know from past experience that after I do this I will no longer be able to boot into Lenny as I will get a grub error at startup. How to I give boot/grub to Lenny so that I can remove the other operating system?

View 3 Replies View Related

Debian :: Grub Error 22 - Multi Boot (Win XP Home And Lenny AMD64)

Sep 1, 2010

I have a dual boot computer. I seem to be having a bit of a problem with Grub lately. Every time I do any kind of update in Debian Lenny AMD 64 it borks my Grub. The first time I had to change a few lines in menu.lst (hd1,1 to hd0,1), no problem. The second time, things went downhill fast and G-Parted was giving me errors on my NTFS partitions. I had to do an XP repair, fixboot, and I had to reinstall Grub completely to the MBR.

Now, I having a "Grub Loading stage1.5. Grub loading, please wait.... Error 22". All I did was update Debian Linux and shut down. From my initial searches this is an error relating to not finding the correct partition. I have booted with a G-Part CD and it shows all my partitions. I do have a Windows XP Home boot cd if I need it. Here is my partition outline if you need it:

/dev/sda1 NTFS (Windows) flags--boot
/dev/sda2 Ext3 (Linux)
/dev/sda3 FAT32 (shared space between Windows and Linux)
/dev/sda4 extended
/dev/sda5 linux-swap

View 6 Replies View Related

Ubuntu Installation :: Grub Multi Boot With Raid 0

Mar 20, 2011

There have been many postings on doing Raid 0 setups, and it seems the best way looks like softRaid, but there were some arguments for fakeRaid in dual boot situations. I've seen some posts on dual boot windows/linux in Raid 0, but I was hoping to do a multi-boot using a grub partition, with several Linux distros and Windows 7. There will also be a storage disk for data, but not in the array. From what I gather, I'll need a grub partition which can only reside on one of the two disks, one swap partition on each disk, then the rest I can stripe.

I've got two 73GB WD raptor drives to use for the OS's and programs. I'm just getting my feet wet with the terminal in linux (Ubuntu makes it way too easy to stay in GUI), and the inner workings of the OS, so I have several questions:

Is this going to be worth the effort? Obviously I'm trying to boost performance in boot and run times, but with Grub on a single drive, will I see much gain?

Does this sound like the right methodology (softRAID)? I only have two spare PCI slot's, which don't seem like they would be condusive to hardware raid, but someone who knows more could convince me otherwise.

[Code]...

View 5 Replies View Related

Installation :: Multi-boot Grub Menu Does Not Link

Mar 5, 2009

I have a single hdd, on which I do not require windows OS, just (multiple) linux; it is just a dev mule, exploratory... Have read the saikee methods, and much more... almost there Initial installs were with mint linux 4, just used ml6

partitioned with parted magic
partition table:
Device Boot Start End Blocks Id System
/dev/hda1 * 1 64 514048+ 6 FAT16
/dev/hda2 65 2614 20482875 83 Linux

[Code]....

View 3 Replies View Related

Ubuntu Installation :: Multi HDD Dual Boot - Vista + Lucid Lynx - GRUB ?

Apr 27, 2010

I've got a machine that I'd got 9.10 on, that I've now upgraded to Lucid Lynx - and I'm having the same problem with dual boot (or lack thereof) that I was having previously.

Rough scenario is:

(Original Vista machine had)

C: Windows Vista OS + Windows software, etc.: 500GB - single NTFS partition - SATA drive

D: General dumping ground for data. 500GB SATA drive. Was single NTFS partition, now shrunk to install Ubuntu.

So is now:
- NTFS partition (containing general rubbish)
- Ubuntu / partition
- Ubuntu swap partition

... and then 3 x 1TB SATA drives making up an (Intel ICH9R) FakeRaid RAID5 array - that Windows can happily 'see' and use, but I don't care about Ubuntu having access to it or even seeing it.

Lucid Lynx is installed to /dev/sde6 (IIRC) - but when I boot the machine just boots straight into Vista.

I've done what I can to try and get GRUB correctly installed - to the point that right now I probably have it splattered just about anywhere and everywhere.

So - now - the machine boots and simply presents me with "GRUB Hard Disk Error" and stops...

I can fix this by running the Vista repair, with a fixmbr etc. and putting the MBR back to 'normal' on the first boot disk (/dev/sdd in this case). The machine then just boots straight into Vista.

...or I can boot into Ubuntu (or Vista) by booting off a Super Grub Disk (CD) and selecting "Boot Linux" (or whatever it is) - and it correctly boots Lucid Lynx from /dev/sde6

Ideally I want a proper GRUB dual boot menu - but I just seem to be getting into more and more of a mess!

Bootlog below will show what sort of mess I'm in:

Code:

Boot Info Summary:

View 2 Replies View Related

Debian Configuration :: Grub Config For Dual Boot (Identical But Independent)

Jan 3, 2016

I have a Jessie with grub2. I've bought ssd and copied root partition onto it. I've also installed grub on this disc. I would like to have dual boot:

- First option: old root booted from hdd
- second option: boot from copied ssd and use root from it.

So i would have two identical but independent configurations.

Both disc has different uids (changed after cloning).

I had a hope that i will change fstab to mount root partition from ssd, but it doesn't work. I need to change grub configuration, but how to add new position?

There is also problem that bios doesn't allow me to choose disc to boot from. So i would rather prefer to change grub configuration for dual boot from different disc.

View 8 Replies View Related

Fedora Installation :: 2 HDs And Dual Boot - How To Edit Grub Config File

May 18, 2011

I have 2 harddisks 1 tb and 160 gb. In 1 tb fedora is installed. In 160 gb windows is installed. 1 tb is the master. 160 gb is not being detected. How to edit grub.conf file to edit the menu?

The content of grub.conf is
# grub.conf generated by anaconda
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that all kernel and initrd paths are relative to /, e.g.
# root (hd0,1)
# kernel /boot/vmlinuz-version ro root=/dev/sda2
# initrd /boot/initrd-[generic-]version.img
#boot=/dev/sda
default=1
timeout=5
splashimage=(hd0,1)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.35.6-45.fc14.i686)
root (hd0,1)
kernel /boot/vmlinuz-2.6.35.6-45.fc14.i686 ro root=UUID=bfc7d406-5ae3-4335-a2d8-37472dcfa7dc rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet
initrd /boot/initramfs-2.6.35.6-45.fc14.i686.img
title Other
rootnoverify (hd1,0)
chainloader +1

View 2 Replies View Related

General :: Multi Boot Grub - All Systems Recognized But 10.10 Will Not Boot - Cannot Locate The UUID Specified

Dec 20, 2010

Problem: I have installed two Ubuntu servers, 10.04 32-bit and 10.10 64-bit, in a multi-boot environment (also have FDOS and WinXPsp3). The 64-bit will not boot because grub can't find the UUID for the disk with the 64-bit system.

Brief Background: Installed 10.04 LTS two months ago with no problems. 10.04 is in a primary partition on hda with FDOS.

Installed 10.10 (64-bit) in a new primary partition on the same hd. The install seemed to go ok, but the MBR and the fs on the 10.04 were corrupted; could not boot. Restored drive, and rebuilt grub.

Installed 10.10 on separate hd (hdb). In grub step all OS's were recognized so I pointed the grub to hda. Grub failed to boot.

Rebuilt grub from 10.04 on hda. All systems recognized but 10.10 will not boot because it says it cannot locate the UUID specified.

Compared the grub.cfg for both systems, the UUID specified for hdb is the same. Also, when I mount the drive for 10.10 on the 10.04 system the drive UUID is consistent.

I know I must be missing some thing, but I know not what. Have searched and can't find any clues. All other OS's boot ok.

Hardware: AMD64 4GB, 2 internal IDE drives (hda and hdb), 1 internal SATA (hdc WinXP), various USB and Firewire Drives (no bootable systems).

View 6 Replies View Related

Ubuntu Installation :: Boot/grub/win7 - Testdisk/update-grub Method, But It Didn't Work?

Mar 4, 2011

I have 2 hard disks. sda,sdb

In sda, I have 4 partitions, and I have windows 7 in one of the extended partitions [not in the primary partition].

In sdb, I have 3 partitions. 2 for storage, and 1 10GB drive for Ubuntu. Again, Ubuntu is not of a primary partition.

I had ubuntu 10.04 running on that for a long time. However, I wanted to reinstall ubuntu and use 10.10.This is what I did EXACTLY:Booted from Ubuntu install CD

Chose advanced istall

Selected sdb3 for Ubuntu

I installed GRUB2 on the SAME partition as Ubuntu aka sdb3 Installed then rebooted

I can boot into Ubuntu fine, but whenever I select Windows 7 bootloader from the GRUB menu, the screen goes black, and my PC reboots.

Boot Info:

Code:
Boot Info Script 0.55 dated February 15th, 2010 [code]....

ls: reading directory sda6/: Input/output error

I have tried the testdisk/update-grub method, but it didn't work.

View 9 Replies View Related

Debian Installation :: Installing In A Triple Boot Config?

May 3, 2010

I used debian several years ago, and I'm interested in trying it out again.Right now, I have a laptop running Windows Vista and Ubuntu 9.10 in a dual boot configuration. Here is the output ofsudo fdisk -l

Disk /dev/sda: 320.1 GB, 320072933376 bytes
240 heads, 63 sectors/track, 41345 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes

[code]....

View 6 Replies View Related

General :: Setting Up A Multi Boot System With GRUB?

Aug 20, 2010

There are lots of OSs and Linux dists to install on your netbook, and I want to make it as easy as possible to install, remove and switch between them.

Just installing a dist and then another one after it will replace the GRUB boot screen every time, and some dists might override previous GRUB menus entirely.

On a previous machine I created a GRUB partition which chain-loads GRUB for each dist, but now I can't remember how I did it.

The hard drive is currently empty, since I started playing around with repartitioning. What is the easiest way to install GRUB to a partition? Links are welcome, but please no generic "install GRUB" guides because the ones I've found haven't been relevant to my particular situation (empty hard drive, multi boot environment, no CD/floppy)..

View 2 Replies View Related

Debian Installation :: 'grub-pc' Package Failed Into /target/. Without The GRUB Boot Loader

Sep 21, 2010

I was installing sqeeze i386 on my laptop VOSTRO 1400 and got this the 'grub-pc' package failed to install into /target/. without the GRUB boot loader, the installed system will not boot.

View 3 Replies View Related

Debian Configuration :: Postfix Multi-instance Doesn't Work

Jun 21, 2015

i created a second instance of postfix.It isn' t the first time that i made this procedure but with debian i had a lot of problem.I think that the problem is chroot configuration of postfix .In the first i had two problem smtp “fatal: unknown service: smtp/tcp” and the second instance was enable to make nslookup of domain.I copied the necessary file in /var/spool/postfix-second-instace and i solved the errors.Now the problem is that there aren't error in log file but connect to xxx.xxx.net[yyy.nn.yyy.yyy]:25: Connection timed out for all connection. and the email are all in defer directory and the second instance doesn' t send emails.

View 4 Replies View Related

Ubuntu Installation :: Properly Multi-booting Grub With Windows First

Mar 5, 2010

I wanted windows to appear first in my grub2 menu so I renamed the 30_os_probe file(or whatever it felename is) to 09_os_probe so that it comes before the 10 linux file, problem is whenever these files get updated the updater is unable to find the 30_os_probe file since I renamed it and recreates it... leaving me with two versions (09 and 30) with 09 being of course outdated.

The updater also fails to run update-grub and instead attempts to update grub.cfg manually... and fails. I had to manually do a sudo update-grub.

Is there any way to fix this so its all updated automatically while leaving windows the top choice? No manual intervention required beyond clicking "install updates"?

Also, is it possible to JUST have the Windows and Ubuntu choices, no Ubuntu recovery, memtest, alternative(older) kernels for Ubuntu, etc in the grub menu?

View 9 Replies View Related

Ubuntu Installation :: Multi Booting On Two Drives - How To Edit Grub

Apr 7, 2010

I have two hard drives windows 7 is on one of them and Ubuntu 9.10 is on the other. Both drives are 320GB, but different models of drives by Seagate. Both drives are detected by the BIOS and both drives are detected by Windows, but only one drive is detected by Ubuntu during the installation process. I had to literally disconnect the Windows drive to get Ubuntu to recognize the drive I wanted it on. Now that Ubuntu is completely installed and a new Kernel has been downloaded and installed it finally recognizes both drives as existing.

There is some kind of problem with the Installer and the original Kernel that kept it from seeing the second drive. I will literally have to manually edit Grub to get it to boot the Windows drive. How do I edit Grub? and what kind of Grub command would do the trick? I searched for "multi-boot" and literally read them all, there was one thread about multi-boot on multi-drives, but it did not fit because the Installer recognized both drives with that thread. I have to change the boot order in the BIOS to get the drive to boot that I want currently.

View 4 Replies View Related

General :: Installing Grub On A Dual-boot RAID Config?

Sep 29, 2010

Ive created two RAID0 partitions on my drives, a 500GB and a 60GB. Im trying to install Ubuntu on the smaller partition (ive already put Win 7 on the larger one) and every time when i get right to the last part of installation it says Grub couldnt be installed. "the grub package failed to install in arget......."

View 1 Replies View Related

Fedora Installation :: Grub Boot Loader Doesn't Work For Core 12 And WinXP?

Jun 7, 2010

I have an HP Pavilion m7480n PC with Windows XP installed on the C-drive. I successfully installed FC 12 onto the spare USB drive. When I rebooted the PC all I got was a blinking underscore at the extreme upper left position of a totally black screen. After a bit of experimenting I found that if I hit the F1 key during the boot process, go into the BIOS setup, do nothing within the setup, and press ESC to get out of the setup then the PC will go back into the boot cycle a second time. During the second time however a small text message appears with words to the effect "Press any key to enter GRUB..." after which the GRUB splash screen comes up with the choice for FC 12 or "Other" (referring to Win XP). At that point I can boot into either one.

View 4 Replies View Related

Debian Installation :: Moving Debian Install From Virtual Machine To Physical

Feb 20, 2010

I have been learning Debian by using a virtual machine. After fine-tuning my installation procedure, I decided to copy that installation to my physical system. The hard drive already has another Linux based system installed. I plan to dual boot.After copying files I updated fstab and menu.lst.The partition scheme between the virtual and physical environments are similar, but the partitions are not mapped exactly the same.Thus the Debian system on the physical hard drive fails to boot simply because the initrd is created for the root partition location on the virtual machine. The initrd created in the virtual machine is looking for the root file system on /dev/hda1 whereas on my physical drive the new location is /dev/sda7.How can I rebuild the initrd on the physical system? I started to use the installation DVD in rescue mode, but I did not get too far.

View 6 Replies View Related

Debian :: How To Config Grub After Installing Windows 10

Aug 16, 2015

I have 2 HDDs, and under linux, sda is ntfs, sdb is ext4 of debian jessie, the booting order is sdb ( it contains the grub on sdb's MBR) then sda, the windows boot loader on its own MBR.

The sda was win8, but now just formatted it and did a fresh installation of win10. After power off PC and plug the sdb up again. Turn on the power, setup the booting prior as same as above, but, the grub can not realize the windows 10 boot sector, error message is: no such device /dev/sda1... (and following a digit array) 8xxxxxxxxxxxx....

How to config grub in order to make it can dual boot both Operating System?

View 1 Replies View Related

Fedora Installation :: Multi Boot System - Set Up The Boot Loader ?

Mar 18, 2010

I'm trying to install Fedora onto a computer that has Windows XP on the first of two SATA drives. Windows 7 is on the second drive.

I installed Fedora no problems on a 14 gig free space I created on the first drive and told it where and what my other OS's were. Fine so far. I didn't tell it to overwrite the MBR on the XP (first) drive. I took the second option which I "think" put the boot loader on the fedora partition.

All good - till I rebooted and I just saw my Windows 7 loader with my options for XP and Windows 7 but no Fedora.

So, if I overwrite the MBR on the first drive, will that mean I can't access my Windows 7 installation?

How SHOULD I set up the boot loader?

View 4 Replies View Related

General :: Automatic Reboot And Revert Grub Config On Boot Failure?

Dec 3, 2010

I have a working RHEL in /dev/sda1 and a newly constructed Ubuntu Lucid in /dev/sda2. I'm going to edit the grub config and reboot the server into the new Ubuntu. However, I'm not 100% sure that the new distro can boot. And since my only way to access the server is via SSH, I need the network to be up too.

How can I configure Grub and Ubuntu so that if the server fails to boot, it will automatically reboot into the old RHEL? Currently using GRUB 0.93, but I can upgrade it if needed.

Update: In the end, no boot failure occured. But without the insurance from this, I wouldn't have attempted [URL]..

View 2 Replies View Related

General :: Bootloader - Restore Boot Record And At Same Time Keep My Grub Config?

Jun 3, 2010

Im finally deleting vista from my disk, but as I am game addict I will re-install it afterwards just for games. Now I assume that will overwrite GRUB, so how do I restore boot record and at same time keep my grub config?

View 5 Replies View Related

Debian Configuration :: Grub2 Multi Boot With XP ?

Jun 29, 2011

I recently upgrade my grub to grub2 and had problem to boot debian. After trying to fix it myself, I played around with grub-image-ntldr, my debian now works ok, but I cant boot my XP anymore.

Now when I try to boot XP, I got "No grldr" message. If I copy my ntldr and rename it to grldr, my XP will boot ok. So it seems that when I try to boot XP it doesn't chainload ntldr anymore, it is looking for grldr.

I tried to change "chainload +1" to "chainload /ntldr", it complains about invalid signature. Does anyone knows why my grub now using grldr instead of ntldr?

View 2 Replies View Related

Debian Installation :: Fresh RAID1 Wheezy Install - GRUB Just Does Not Work

Jul 26, 2014

I have a VIA Epia M 5000 system with 2 western digital 1TB NAS SATA drives connected through SATA<->IDE adapter. Everything installs and writes as expected except... grub. It never boots, after a message 'Grub loading' I always get 'error: no such disk'. I've tried numerous times and has been attemping to fix the issue for the past 2 days.

/dev/sda
0.999TB 0xfd linux raid autodetect partition
1GB 0xfd linux raid autodetect, logical partition

/dev/sdb exactly the same
0.999TB 0xfd linux raid autodetect partition
1GB 0xfd linux raid autodetect

/dev/md0
RAID1 of /dev/sda1 and /dev/sdb1
marked as ext4, boot point /

/dev/md1
RAID1 of /dev/sda5 and /dev/sdb5
marked as swap

update-grub2 in rescue mode generates grub.cfg with SET root=/mduuid/UUID_OF_SDA1
then after that there's search --no-floppy etc --set root=/mduuid/UUID_OF_MD0

I'm writing this from memory but simply the two uuids are different. Is this correct? I get those UUIDs to compare from blkid. All partitions are marked as bootable. grub-install /dev/sda and grub-install /dev/sdb produces no errors. grub-install /dev/md0 does not work, complains about superblocks or something similar.

Grub.cfg file contains insmod raid mdraid1x and similar lines, so that should be ok. Grub drops to rescue mode with message error: no such disk. Not device, but disk. Google finds many results for 'no such device' error, but I am not getting that error. 'ls' produces
(hd0) (hd0,msdos1) (hd1) (hd1,msdos1) ls ANY_VALID_PATH produces empty newline being printed, nothing more.

setting prefixes manually does not work, with error message 'error: file not found'. ls (hd0,msdos1)/boot/grub also produces empty line being printed. Rescue CD and auto-assemble of md0 and md1 works, the files are there, everything okay, except grub.

View 3 Replies View Related

General :: Config Multi Oki Forms Printer Via Lantronix Ps?

Mar 23, 2011

I have tried about every combo, but cannot get any test page delivered to the printer. The device/ps setup works fine in our old Sun Unix environment.

View 6 Replies View Related

Debian :: Using VNC In A Multi-user / Multi-system Network

Mar 21, 2011

Anyone successfully using VNC client on a Mac to control a Debian server?I have the vncserver setup on the Debian machine properly. But I'm having problems connecting to it from both a PowerMac running Tiger and a MacBookPro running leopard.I can connect no problem from a machine running Slack12.2, have not setup port forwarding on my router to connect remotely yet.My Debian machine is running the latest stable release of squeeze with KDE4.I originally tried this with RealVNC Enterprise for OSX but I'm not gonna buy it so I need another alternative after the 30 day trial ends as they have no free version for OSX.
The situation is that I do freelance graphic design on the PowerMac with Cinema4D and Photoshop so I spend most of my time on that machine which is located in my home studio in my attic. Aside from the MacBook and a Dell desktop(family machine)all my other machines and network hardware are in the basement. So to go from the attic to the basement everytime I need to do something on another machine is not practical, and the only other machine I need to access on a regular basis is the Debian box in the basement, this makes the most sense.

I also have a 14 year old living in the house and he's fascinated by all this and will meddle in anything he gets the chance to so all the Linux machines and network hardware need to be behind lock and key.

View 6 Replies View Related

Debian Installation :: GRUB In Boot Partition?

Jun 19, 2012

I am new to Debian but have some basic experience with Linux and am currently trying to triple boot Windows 7, Fedora 16, and Debian on an HP Pavilion dv7. I have the Windows Boot Loader on my MBR because I've heard that Windows updates can cause boot issues if GRUB is installed there. This means that I've been installing GRUB in the /boot partition for each Linux distro and creating corresponding entries in the Windows boot menu.

This has worked in the past with both Fedora and Ubuntu, but I have not been able to work around it with Debian. When I choose my Debian option in the Windows boot loader, it loads GRUB but hangs after it prints "Welcome to GRUB!", and I have to restart the computer. I would like to hear what more experienced Linux users have to say both about why this isn't working for Debian and about if keeping the WIndows boot loader is the right way to go.

Also, here is my partition layout:

Partition 1: SYSTEM (HP pre-installed) (209 MB)
Partition 2: Windows Partition (472 GB)
Partition 3: Extended (160 GB)
1: /boot for Fedora (524 MB)
2: Physical Volume for other Fedora partitions (79 GB)
3: /boot for Debian (749 MB)
4: Physical Volume for other Debian partitions (80 GB)
118 GB free space
Partition 4: HP_TOOLS (HP pre-installed) (108 MB)

View 14 Replies View Related

Ubuntu Installation :: Get The Machines To Boot The CD?

Sep 16, 2010

So I'm a newb to ubuntu and I have two desktops I just had wiped clean, there is nothing on the drives. I DL the latest version, burned to CD and tried to get the machines to boot the CD so I can install the software.

I get nothing but reboot retry press F1.

View 4 Replies View Related







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