Fedora Installation :: Putting /boot Inside LVM With Grub2?

May 22, 2011

I have just converted from using Arch Linux for the last year to using Fedora 14. So far I have been having a blast but I really enjoy the idea of putting /boot inside an LVM container and that is how I had my Arch system built. So I wanted to do a learning experience and did a standard install on my 60GB SSD. Which ended up with a 500MB /boot outside LVM, a ~30GB / and ~30GB /home inside LVM. Now I really like spreading things out onto different LV's that I can resize but for now I am focusing on getting /boot and grub2 working. So after the install I did a complete backup with Clonezilla to a spare drive and set to work. I shrunk /home's LV to 10GB to give me plenty of space to work with and created boot_lv inside LVM at 128MB.

So here is my first question:After 2 hours trolling through the forums, documentation and blogs I believe that the ideal size for any /boot is 512MB due to during pre-upgrades Fedora loads a bunch of data to /boot. Would I be correct in both assuming this size and the reasoning behind this?After creating this LV I did another Clonezilla clone of the drive and got back into the Fedora install. From their I moved over all the data in /boot to my boot_lv mounted on /mnt/newboot and unmounted /boot. Then mounted /boot_lv in its place and installed grub2 and gettext ( <--- I think? It needed something like this) and did a grub2-install, grub2-mkconfig and grub2-setup all with commands I do not remember nor documented due to how many changes I have made and times I had to re-image the box from messup's and failures. So in the end can anyone point me in the direction of a nice guide on putting Fedora 14 completely in LVM which seems not to exist in Google and Fedora Forums ( to my knowledge.) Even a set of commands for taking a fresh install and doing.

EDIT: Today I managed to get Debian 6 to have /boot moved into LVM no problem. I documented it very well and plan to implement it on Fedora which I do greatly hope it works.EDIT 2: SUCCESS!!! Took me all weekend to get it working in Fedora but it bloody works! My notes are not the best so I am imaging it right now and am going through step by step again tomorrow and documenting it all on my laptop and writing a tutorial for the Guides section of this forum. It's kinda funny that the only thing holding me back was something rather stupid

View 2 Replies


ADVERTISEMENT

Ubuntu Installation :: Grub2 Can't Load Window 7 After Recovered Grub2 Using Live Cd To Boot Windows 7

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

Ubuntu Installation :: Grub2 Dosn't Save Windows As Last Selected + Boot Into Cdrom From Grub2?

May 17, 2010

I went through so many post but I haven't found the proper answer yet hope you have an Idea1. Grub2 saves only Linux OS as last selected no Windows OS2.It is possible to boot into a cdrom (drive)?

View 2 Replies View Related

Fedora Installation :: Booting Without Putting Grub In The MBR?

Jan 17, 2011

I am shortly getting a new computer, It will arrive with Windows 7 on one disk and will have a second disk, on which I will install Fedora. In the past, when I've set up a dual boot system, I always used the standard configuration with the first part of grub put in the MBR. But this time I would like to put grub entirely in the Linux disk and then use Windows 7's boot loader to boot. I set up another computer that way where the disk originally came with Vista. But in that case, I set it up the standard way and then changed it afterwards to use the Vista boot loader.

This time, I want to set it up when installing Linux so grub is entirely on the second Linux disk. So until I manage to figure out how to get the Windows boot loader to do the job, I need a separate way to boot Linux, say from a CD with grub on it. But that CD should have the appropriate grub configuration on it. The easiest way I know to create such a CD is from Fedora, but there is the problem that I first need to get into Fedora to do it. I can think of several ways to approach that problem, i.e., using the installation disc in rescue mode or using some raw grub booter created from my old system. But I would like to keep things as simple and direct as possible, since otherwise I'm sure there will be false starts and a lot of fiddling.

So could someone direct me to some simple instructions to do what I want as quickly as possible. In particular, are there any options to do it in the installation process?

View 3 Replies View Related

Ubuntu Installation :: Grub2 - Turning A Dual Boot Into Single Boot?

Feb 10, 2010

I recently got a netbook and setup as dual boot between win7 starter and 9.10 (64bit). Win 7 starter is not impressive so i want to nuke it and give the space all to my /USR partion. I am comfortable working with Gparted and assume that i can launch using my gparted live usb and delete the windows partion and then resize the /usr partion.

what changes do i need to make w/ Grub2? I would prefer not to see the Grub menu at all and have it load right the main kernel if possible. Also, if this is possible is there a way to get to the Grub menu during boot should i need to select a different kernel?

View 2 Replies View Related

Ubuntu Installation :: Grub2 - Dual Boot Karmic / Unable To Boot Into Archlinux Partition

Feb 15, 2010

After installing karmic with Grub2 I am unable to boot into Archlinux partition. Grub2 has removed the last line of the Archlinux boot stanza! It used to read:-

[Code]....

Following the Grub2 tutorials I have tried editing /etc/grub.d/40_custom as follows:-

[Code]....

But no luck. Only way into Archlinux is to get into the edit shell and manually add the missing line and remove other stuff not needed. I have spent hours trying to resolve this issue and I am fairly p----d off

View 2 Replies View Related

Ubuntu Installation :: Installed Lucid Inside Windows - No Boot Screen

Aug 5, 2010

I recently installed Lucid Lynx inside my Windows XP using Wubi. When I restart I don't have a boot screen giving me the option to boot into either or, it just boots directly into XP. How do I fix this so I can boot into Lucid?

View 1 Replies View Related

Ubuntu Installation :: Unable To Load Onto Computer As Dual Boot Or Inside Windows?

Apr 24, 2010

I am unable to load Ubuntu onto computer as dual boot or inside windows. Thus scanned the CD and found it has 23 errors.Are these files suppose to be on the CD?casper, .disk, install, install, isolinux, pics, pool, pressed, autorun, md5sum.

View 4 Replies View Related

Ubuntu Installation :: GRUB2 Cannot Boot?

Jan 15, 2011

GRUB2 won't boot. It hangs just after the 'Boot from CD' thing in my BIOS.I've had 1.97 working on my PC about 24 hours ago, but I decided to start afresh and go for Xubuntu 10.10.I'll post the PC specs in the morning, but in the meantime, does anyone know how to fix this?It's going to be a Xubuntu only system, and I've tried to repair the GRUB files via the Live CD and here.

View 4 Replies View Related

Ubuntu Installation :: USB Boot Via GRUB2?

Mar 26, 2011

So I have a really old (about 10 years) desktop PC manufactured by Packard Bell, and would like to get Lubuntu 10.10 running on it. I had previously burnt a CD with it, but boot time was incredibly slow on the machine and installation of Lubuntu crashed my system. As a result, I created a LiveUSB (as you do).

When I entered my CMOS, I discovered the BIOS on my machine isn't able to boot from USB, and I wasn't able to find a BIOS update for my AMIBIOS chip on the American Megatrends website. So I booted my GParted Live CD and created an ext4 partition at /dev/sda3, which I proceeded to install GRUB2 onto via the commands:

Code:
$ sudo su
# mkdir /mnt/grub/
# mount /dev/sda3 /mnt/grub/
# grub-isntall --no-floppy --root-directory=/mnt/grub /dev/sda

This, as planned, succeeded; I can now get into a GRUB2 prompt when my machine boots...! The only problem is, GRUB2 won't detect my USB...or any device other than my hard drive

So, is there any way I can get GRUB2 to find my USB?

P.S. The USB works fine on my laptop, which does support USB booting. I can also boot the USB on my laptop via its GRUB2 command line, using:

Code:
grub> set root='(hd1,1)'
grub> chainloader +1
grub> boot

View 9 Replies View Related

Ubuntu Installation :: Grub2 Won't Boot The Windows

May 3, 2010

I have a asus eeepc 1101ha. With Karmic,it would boot into w7 without problems.I installed Lucid on another partition,and after that the w7 grub entry would leave me with a blinking cursor in the left top corner, and hang.

I booted with the w7 dvd, ran bootrec.exe to restore mbr and bootmgr, and the booted into w7 to confirm. It was working. Then I booted with the live dvd, mounted the lucid partition, and installed grub. Now choosing the w7 entry would ask for the boot media, and pressing any key would bring me back to the grub menu. Lucid and karmic boot without problems.

Installing grub from karmic now gave the same error. Running update-grub didn't change anything.As I had to use w7, I booted again from the dvd, and restored again mbr and bootmgr. Booted into w7, used it, then once again to the live cd, to reinstall grub, and once again the w7 entry in grub makes grub ask for the boot media.I've attached my boot info script.Ah, I also played with the bootable flag for the /dev/sda1 partition, but it didn't change anything.

View 1 Replies View Related

Ubuntu Installation :: Another Dual Boot Grub2 On 10.04?

Jun 8, 2010

I've already had WinXP SP3 installed on one HDD, so i've installed 10.04 on my spare HDD. When I try to boot to Win, I get ntoskrnl.exe missing error. This is my boot info script report:

Code:

Boot Info Script 0.55 dated February 15th, 2010
============================= Boot Info Summary: ==============================
=> Windows is installed in the MBR of /dev/sda
=> Windows is installed in the MBR of /dev/sdb

[code]....

I've tried with different boot orders in bios, reinstalling Grub2 (several times ), I've even tried to install lilo through software center but didn't know how to configure it ...

View 9 Replies View Related

Ubuntu Installation :: Cannot Boot OS - Grub2 / Device.map

Aug 25, 2010

I used to have 2 HDDs for ubuntu: 1 x 80GB and 1 x 500GB The 500GB disk was my /home directory and is now used exclusively for Windows 7. I have now moved /home to the 80GB drive and have modified /etc/fstab to point /home to /home rather than /dev/sdb1. However, I cannot boot into ubuntu. I have tried using Super Boot Disk cd-rom but still no joy. I think I need to fix grub and have tried by booting into a Live-CD and following a tutorial I found on the forums but it complains about not being able to find a device.map I guess this has something to do with the fact that the 500GB HDD is now gonoe but am not sure how to resolve this issue. how to recreate this file but the command failed.

View 2 Replies View Related

Ubuntu Installation :: Boot From Grub2 Or Whatever Is Called

Nov 1, 2010

Every Time I Try Too Boot Ubuntu, Instead Of Starting Up It Takes Me To This Menu Type Thing And It Says To Press Tab To See The Command List Or Something Like That. And I Dont Know What Commands To Use.

View 9 Replies View Related

Ubuntu Installation :: Grub2 Cannot Boot Windows 7?

Dec 10, 2010

menuentry "Windows 7 (loader) (on /dev/sda1)" {
insmod part_msdos
insmod ntfs
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set 3850d16450d12980
chainloader +1
}

This is automaticly genarated after installed ubuntu 10.10. It shows black screen with a flashing cursor after press enter. Grub 0.97 also does this with:

title win7
fallback 2
find --set-root --ignore-floppies /bootmgr
chainloader /bootmgr
savedefault --wait=2

But the wierd thing is my usb stick can boot windows 7 succesfully with the same configuration. Whats wrong with that? How can do with grub.cfg?

View 9 Replies View Related

Ubuntu Installation :: Grub2 Won't Boot Windows Xp

Jan 3, 2011

ok so sounds like everyone elses issue that i`ve seen on here but i had it all working properly until i booted into ubuntu and updated grub somehow and when it told me to reboot all i got was a grub rescue error.

Now i got ubuntu 10.10 installed to try and fix the grub 2 error but now cant get it to boot windows from the menu.

View 5 Replies View Related

Ubuntu Installation :: Install On Ssd With Gpt - Boot With Efi Via Grub2

Sep 1, 2011

As I now have a 120Gb SSD in an efi-capable laptop, I'd like to re-install 11.04. I'd like to format the SSD as gpt and make it bootable with efi. And I'd like to use grub2 as the bootloader.

Can anybody walk me through this? I'm pretty new to Ubuntu, though I've used several other distros for a number of years. When I last installed 11.04, I don't remember seeing options for gpt, for example. And I don't know how get things booting with efi.

View 6 Replies View Related

Fedora Servers :: VPN Installation - Outside / Inside Interface?

Aug 14, 2011

I tried to install VPN server/client on my Linux machines. But the instruction document mentioned: "The following should work (assuming your outside interface is eth1 and your inside interface is eth0):". What is " outside interface" and what is " inside interface"

My machine showed this:
ifconfig -a
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:112 errors:0 dropped:0 overruns:0 frame:0
TX packets:112 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:7392 (7.2 KiB) TX bytes:7392 (7.2 KiB)

p2p1 Link encap:Ethernet HWaddr 00:21C:42:A4:19
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:43

wlan0 Link encap:Ethernet HWaddr 90:4C:E5:68:91E
inet addr:192.168.1.225 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::924c:e5ff:fe68:91ce/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3999383 errors:0 dropped:0 overruns:0 frame:0
TX packets:2067232 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1021542186 (974.2 MiB) TX bytes:177511017 (169.2 MiB)

View 1 Replies View Related

Debian Installation :: Lenny - Squeeze Grub2 - No More Boot

Feb 28, 2011

Whenever I reboot, I get GRUB and the _ pinking, and that's it. With rescue cd I can have chroot shell, to troubleshoot I did the upgrade-from-grub-legacy and installed it to both /dev/sda and /dev/sdb In recovery I redid the upgrade-grub and grub-install commands but still have the same "GRUB and _ blinking".

Because the text "GRUB" and then nothing I didn't enouncter while googling, I need to ask here for further troubleshooting.

View 10 Replies View Related

Ubuntu Installation :: 9.10 Karmic Koala - Lvm And Grub2 Boot?

Feb 21, 2010

I am having problem in grub2 fails to boot the system. I get the error:

Booting from local disk...
GRUB loading.
error: no such disk
System setup:

It's a Dell XPS400 PC with 160 GB HDD. I have a non-LVM, primary partition for the boot file system (/boot) of 200 MB. I also have seven logical volumes (LVM partitions): six for each of the /(root), swap, /home, /usr, /var and /tmp, and one vbox_win_xp_base as a raw disk for running Win XP in the Virtualbox. I went on to configure all these without rebooting the system in between. Later I also updated to the kernel version 2.6.31._20. Next day I decided to reboot my system. But then the bootloader (GRUB2 in my case) won't able to boot it and gives the error mentioned above.

[Code]...

View 3 Replies View Related

Ubuntu Installation :: Grub2 - No Known Boot Loader Installed In MBR

Mar 12, 2010

I am trying to dual-boot windows xp and ubuntu 8.04LTS from two separate hard drives, on a compaq d510 evo SFF. With research, the best way to do that seemed to be to upgrade to Grub 2 and all would be well...not so much. I installed each OS with the other hard drive removed, fyi. I believe that this tells me that I SHOULD be able to boot off either drive, if I could get Grub 2 to recognize...

Code:
steve@Stewie:~$ sudo fdisk -l
Disk /dev/sda: 40.0 GB, 40060403712 bytes
255 heads, 63 sectors/track, 4870 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xb788b788 .....

Code:
steve@Stewie:~$ sudo update-grub
Updating /boot/grub/grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.24-27-generic
Found initrd image: /boot/initrd.img-2.6.24-27-generic
Found linux image: /boot/vmlinuz-2.6.24-26-generic
Found initrd image: /boot/initrd.img-2.6.24-26-generic
Found memtest86+ image: /boot/memtest86+.bin
done

I have also tried adding the proper code to the 40 custom file, and while I could at least get it to acknowledge my changes, I couldn't seem to find the magic code to get it right....
The other thing I tried was adding GRUB_DISABLE_OS_PROBER=false
to /etc/default/grub
and last but not least, here is my results.txt from the boot info script. I also tried uninstalling/reinstalling grub 2, perhaps I created issues there?

Code:
Boot Info Script 0.55 dated February 15th, 2010
Boot Info Summary:
=> No known boot loader is installed in the MBR of /dev/sda
=> Windows is installed in the MBR of /dev/sdb

View 5 Replies View Related

Ubuntu Installation :: Grub2 Boot Splash Not Working?

Mar 21, 2010

I have been trying to get a boot image to display on a minimal install of Ubuntu. I have followed the steps in the grub2 wiki but I can't get it to work. attached are the steps I have taken with no change in boot. (No Image)

~$ grub-install -v
grub-install (GNU GRUB 1.97~beta4)
sudo apt-get install grub2-splashimages
sudo cp /usr/share/images/grub/*.tga /boot/grub/

[code]....

View 5 Replies View Related

Ubuntu Installation :: Boot .img File From Grub2 And Install Mac Os X?

Apr 25, 2010

I have converted snow leopard .dmg file to .img, and I can it mount, but I need know, if is there way to boot it from grub2

View 4 Replies View Related

Ubuntu Installation :: 10.04 / Windows XP Dual Boot (using Grub2)?

May 12, 2010

I recently installed Ubuntu 10.04 on my dual boot system and noticed that my boot options were changed. I typically have Windows XP as the default OS. Here are the steps that worked for me to get Windows XP as the default boot using Grub2.During my initial Window XP install I had partitioned my hard drive into 3 partitions:

Code:
Partition 1: NTFS format (Windows XP installation) in Linux it is called /dev/sda1
Partition 2: NTFS format (Data for Windows XP) in Linux is is called /dev/sda5

[code]....

View 6 Replies View Related

Ubuntu Installation :: Grub2: No Way To Update The Boot Menu?

Jun 25, 2010

I upgraded my main box to Ubuntu 10.04 and everything runs fine, except for a problem with grub: I can't modify the boot menu in any way, I'm stuck with what grub2 thought was the optimal setup at installation time (and it got it wrong, btw). The current boot menu lists:

- my older 9.10 install in sdb2 (one kernel)
- legacy windows XP install on sda1
- my even older 9.04 install in sdb1 (two kernel versions)
- my new install in sdb3, with only one kernel (the one coming with the distro CD)

I tried anything I could think of to modify this menu:

- modify the /etc grub config file then running sudo update-grub
- using a specific app (system manager? don't remember its name)
- upgrading to the latest kernel
- removing and reinstalling grub

to no avail: the menu is still there in the above form, and I have to manually select the 10.04 (old) kernel by hand every time I reboot.

View 9 Replies View Related

Ubuntu Installation :: Where To Install Grub2 For Triple Boot

Jul 30, 2010

I have been searching in preparation to install 10.04.1 with 2 installations of Windows,already installed.(Win 7 then Vista) I have left room at the end of the drive for Ubuntu. When I get to the stage to select the boot options and click on advanced, what should I select?

View 4 Replies View Related

Ubuntu Installation :: Grub2 Boot Xp Blank Screen?

Sep 10, 2010

I have installed Ubuntu 10.4 on a netbook of mine and am now unable to boot into XP - I get a blank screen.

I have ran the boot info script and attached the result.

View 5 Replies View Related

Ubuntu Installation :: Grub2 / Dual Boot System

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

Ubuntu Installation :: GRUB2 Doesn't Boot After Clonning?

Dec 7, 2010

I'm installing Ubuntu server 10.04 LTS in several machines with identical hardware using clonezilla.Every thing is ok except than wen starting a cloned machine, grub waits the user to make a selection to boot from.The hard disk has 3 partition:

Device Boot Start End Blocks Id System
/dev/sda1 * 1 14 112423+ 83 Linux
/dev/sda2 15 1059 8393962+ 82 Linux swap / Solaris[code].....

how to do to start automaticaly? This is the content of grub configuration file (/boot/grub/grub.cfg)[code]...........

View 5 Replies View Related

Ubuntu Installation :: Echoing To Grub2 Boot Menu ?

Jan 29, 2011

I'd like have some text written on my grub2 boot menu.

In legacy grub you could just add: title Foobar and you'd get "Foobar" displayed.

I tried: menuitem "Foobar" {} grub2, but it doesn't work. Any ideas how do you do something like that?

(Yes, I know writing grub.cfg by hand is not very smart. But I have a special situation: I wrote my own grub.cfg on a dedicated boot partition from where I chainload to other grub on other partitions. Those secondary grubs generate their grub.cfgs on the fly, so everything is OK )

View 3 Replies View Related







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