Ubuntu :: Install Grub After Changing Partitions?
May 17, 2010
How can I install grub after changing partitions with a partition live cd (gparted), since the old grub is no longer working. Usual reinstall won't work here, it'll just reinstall with all the wrong pointers to partitions.
View 2 Replies
ADVERTISEMENT
Jul 29, 2009
We just got a dedicated server from 1&1 which came with a 64-bit CentOS 5 minimal system install. Only later, we found out that it's partitioned in a strange way:
Filesystem Size Used Avail Use% Mounted on
/dev/md1 950M 902M 0 100% /
/dev/md5 4.7G 1.1G 3.7G 22% /usr
/dev/md6 4.7G 897M 3.8G 19% /var
/dev/md7 221G 4.8M 221G 1% /home
none 998M 0 998M 0% /tmp
How can we get it re-partitioned so that all available disk space is allocated to the / directory instead of /home? Is it possible at all?
The 1&1 support is saying that this is a standard install and won't help.
View 5 Replies
View Related
Aug 14, 2010
My laptop has a 60GB hard drive, which my ex-husband set up with a 20GB partition for Windows XP and a 40GB partition with Suse 11, which suited me fine at the time. However, I'm now finding that I need to install a whole bunch of extra Windows programs relating to my work, and the 20GB partition is no longer sufficient, while I'm hardly using any space at all under Linux.
how I might go about redistributing the space between the two partitions (any other solutions to my lack of space problem also welcome)? Please bear in mind that I'm pretty clueless when it comes to this kind of thing!
View 9 Replies
View Related
May 13, 2010
Is there a way to do an install from the iso image to a new disk (USB or whatever), without changing the grub settings on the systems existing hard drive? Every time I try to do a full install to a USB stick, it hoses grub on my hard disk, even though I specify the partitioning during the install, and leave /dev/sda untouched. This has happened now with both Karmic and Lucid.
View 4 Replies
View Related
Feb 11, 2011
I'm dual-booting Windows 7 and Suse 11.3, installing suse second on a seperate 80GB drive. After a ridiculous amount of faffing around due to my dvd writer essentially not working, finally get suse installed, messing with GRUB settings in an attempt to preserve Windows' boot manager, restart; GRUB error 22.
Go through the whole process again, this time accepting the use of grub and not changing anything from default - exactly the same response. None of the tens of boot disks/utilities I've tried will allow me into suse to have a look at the grub config. There are no applications for windows that will allow me to write to ext3.
View 9 Replies
View Related
Nov 30, 2009
I have installed 11.2 with English as default language. During the installation, I tried to change the default keyboard mapping to Spanish, but right now, when the system boots it uses an English mapping. I've seen there is an option to change that on the grub menu and I would like it to default to Spanish. Is it possible? I haven't found much info on the web, but my guess is that changing the DEFAULT_APPEND in /etc/sysconfig/bootloader with an unknown-keyboard-related option will solve it.
View 3 Replies
View Related
Jan 10, 2009
I added an entry to grub's menu.lst and reran grub (grub-install hd0) and now my background is gone and the entries just show up like on a normal console.
I searched the forums and I couldn't find anything. Does anybody know why this happened and how to fix it?
I have not changed anything in menu.lst except for adding the new OS.
View 9 Replies
View Related
Jan 24, 2010
I am testing some boot splash screens but the ones I like most are darker and therefore the black font color during boot, well, shows on dark grey or black background, so I can't see.
I would like to change the font color of the messages, but not the results (green=DONE, red=FAILED, etc., I don't want to change that, only the messages like "doing fast boot", "Loading CPUfreq", and all the ones loading stuff, mounting, etc.).
Apparently I need to edit /lib/lsb/init-functions?
I found a few examples on google, mostly for debian based and the ones I have seen are far more complex than the very simple one opensuse uses. So I am stuck here. 11.2 version.
View 5 Replies
View Related
Nov 27, 2010
I wanted to install ubuntu via wubi, but i had to format my partitions (can't do it on wubi ) so i used a crappy program(i don't remember the name) to get rid of Backtrack4 , because i wanted windows kept for my mom.So, that was the sorry, i've ended up with a GRUB error 22, and a Backtrack4 CD stuck in my DVD-rom.So my question is: Can somewone tell me how to fix error 22? (i've seen some methods online, but i obviously can't put a Windows CD in my DVD rom because the Backtrack4 DVD is stuck in there.
View 4 Replies
View Related
Sep 14, 2009
I installed Ubuntu 9.04 on my latop. I have an older 80 gig HP laptop with Windows XP. Currently, i have XP as the NTFS drive and it takes up about 72 gigs of space, the swap drive for ubuntu is about 256 MB and the ext-3 drive is 2.5 gigs. However, i have no more hard drive space to run or instal any programs on Ubuntu. So what i need to do is decrease the NTFS drive as i still have over 30 gigs of free space on my laptop and increase the ext3 drive to about 10 or 15 gigs and increase the swap drive?
View 3 Replies
View Related
Jan 9, 2010
I have vista and opensuse 11.2 on my computer, the problem is i can't open ext3 partitions from vista but i can the other way. I tried Ext2fsd but the linux partition is always in a read only mood even when i change this option. Also, all folders are empty I downloaded the program as admin and compatable with XP SP2.
View 3 Replies
View Related
Jul 19, 2010
How do I change the default operating system in Grub? I'm running Ubuntu and Windows 7.
View 3 Replies
View Related
Jan 20, 2010
I installed ubuntu on my internal hard disk I experienced a problem with Grub and I just formatted all the Ubuntu Partitions and convert their format to NTFS to restore my windows (I have a backup) but now despite of I format all the Ubuntu's partitions but in the boot time, the grub exist and the grub apear I want to know where does grub exist? I installed ubuntu on the dual booter situation and it was ubuntu 9.10
View 1 Replies
View Related
Apr 21, 2010
I've using win7 and 9.10 for a few months now. Today I decided to install yet another OS, but during installation a new grub was written to the mbr. Result: I can no longer boot Ubuntu.This is what my menu.lst looks like
Quote:
timeout 10
color black/cyan yellow/cyan
gfxmenu (hd0,4)/boot/gfxmenu
default 0
[code]....
I can see and mount my 9.10 partition just fine from the new OS, it's located on dev/sda6.And I'd still very much like to keep using Ubuntu. So, how do I go about editing this file to make it work?
View 5 Replies
View Related
Jun 10, 2010
I have a 320GB Hard Drive, divided into 4 partitions.
20GB Windows 7 Home Premium x64(NTFS)
20GB Mac OSX Leopard
20GB Ubuntu 9.10 x64 Root (Ext4)
[code]....
View 3 Replies
View Related
Jun 27, 2010
I have two "Ubuntu" installations, for the record. My HDD is laid out like so:
PRIMARY - First Ubuntu
PRIMARY - Second Ubuntu [XBMC Live]
4GB Free
14GB LOGICAL
-4GB Free
-10GB Swap
Now, GRUB is currently on XBMC Live. I have terminal and root access if needed, and a "Live CD" ready to use. What I want to know is how I can move GRUB, preferably on its own partition but it can go back the the first partition.
View 5 Replies
View Related
Jul 18, 2010
I've been running ubuntu 9.10 until this week without any problems. I've just done an in-place update to 10.04 and now cannot boot my windows XP partition.
looking at grub.cfg it appears to be referring to sdb1 as the XP partition whereas the disk utility says the correct partition is sdb5.
sdb1 is a data partition formatted ntfs but not bootable.
When I choose XP from the grub menu all I get is a black screen with a flashing cursor at the top, which would suggest it is trying to boot the data partition.
I've tried update-grub and also startupmanager and it makes no difference. I would just try to edit grub.cfg but the next update would presumably wipe out my changes.
View 1 Replies
View Related
Dec 17, 2010
Now i have two different OS in different partitions and i want to doble boot with grub.
When i start my pc i get the GRUB TERMINAL: grub>
How to boot?
View 5 Replies
View Related
May 12, 2010
I'm using lucid x86_64. I tried changing the grub menu resolution and it works fine on 1024x786 and 1280x1024 but since my monitor is a widescreen lcd i tried the native resolution which is 1440x900 which gives a message "Frequency out of range" during boot after bios post. but then after 10 secs ubuntu boots w/o any problems...also I get the same problem with 1280x800 so i'm guessing it doesn't support wide screen resolutions...is there a workaround?
View 9 Replies
View Related
May 17, 2010
I've seen previous threads about this, but they're rather old and I can't seem to apply their solution to the latest (10.04) stable release of Ubuntu.
What's the "best" way of changing the default option in the bootloader? I'd rather set it to "Windows 7" for the time being as it's what I use at work.
View 2 Replies
View Related
Dec 21, 2010
I have accidentally changed the grub timeout to 0 seconds. My default boot is also set to windows xp so there is currently no possible way to boot into ubuntu. how to change the grub timeout without needing to startup into Ubuntu.
View 6 Replies
View Related
May 7, 2010
I want to resize and eventually remove some partitions on my drive but I need to know how this will affect grub and what to do if I need to fix it.I currently have 3 standard partitions and 1 extended partition on a 160Gb drive.
1st Partition -Windows XP about 60Gb with about 35Gb used. NTFS
2nd Partition -Ubuntu Lucid 10.04 amd64 about 40Gb, 22Gb used ext4
3rd Partition -Linux swap about 2.5Gb
Extented Partition -Ubuntu 9.10 about 49Gb with 23Gb used ext4
I'd like to shrink the Extended partition down and add the space to the 2nd partion where Lucid is. Eventually, I'll want to delete the whole extended partition and add all the space to the Lucid partition.
After using GParted to resize these partitions, what will happen when I boot? Will I need to tell grub where the swap and 9.10 are? I am not changing the start of the first two partitions so I would assume there will not be any problem with them (I'm not sure how moving the start of the swap might affect the Lucid installation though).
View 9 Replies
View Related
Apr 22, 2011
I've resized partitions with some program - perhaps even gparted - but from Win7. partitions are indeed resized, but now I can't boot Win7, grub says:
"No such device found - No such partition found".
I tried to use some advices on similar problems I found here (like adding GRUB_PRELOAD_MODULES="part_msdos" to etc/default/grub and running grub-mkconfig after), but nothing helped. I guess I could restore win7 with installation dvd but I want to fix GRUB (and have both ubuntu 10.10 and win7)
Code:
john@john:~$ sudo fdisk -l
[sudo] password for john:
Disk /dev/sda: 82.0 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xd576590b
Device Boot Start End Blocks Id System
/dev/sda1 1 789 6336513 f W95 Ext'd (LBA)
Partition 1 does not end on cylinder boundary.
/dev/sda2 * 1476 4008 20346322+ 7 HPFS/NTFS
/dev/sda3 4009 9964 47841570 7 HPFS/NTFS
/dev/sda5 1 749 6008832 83 Linux
/dev/sda6 749 789 326656 82 Linux swap / Solaris
View 5 Replies
View Related
Jul 2, 2011
I am currently doing a tri-boot (using refit) with Linux, Windows, and OS X. I was wondering if it was possible to change up the boot loader for Linux. I basically wanted grub to not pop-up and just boot the default version of Ubuntu. Also the boot loader comes up with the options to boot Windows and OS X and I was wondering if it would be possible to remove those from the list as well?
View 4 Replies
View Related
Feb 11, 2010
my old 80gb pata HD showed a dual boot Ubuntu - XP on startup, although ubuntu never worked, onlly XP booted. Recently I tried to Restore a Macrium backup on one of its two partitions, & spoiled something. On boot up it says:-
GRUB loading stage 1.5GRUB loading please waite Error 22
I tried to reinstall Ubuntu 10.8 with no success, & also XP with "R" for repair again with no success.
View 3 Replies
View Related
Jan 2, 2011
Computer StatisticsiMac (Model No. A1225) Dual Boots Mac OS X Partition Layout/dev/sda1 = EFI /dev/sda2 = Macintosh HD (HFS Format with Journaling) Free Space (32 GB) I had the linux installation program automatically partition the free space into three partitions. I forget what they were, but I know they are correct.
I tried doing a rescue installation, and reinstalled it many times with different settings. I even tried a manual partition according to instructions from the internet and reinstalling the grub boot-loader onto different partitions. I have reinstalled it at least 5 times!
View 1 Replies
View Related
Dec 29, 2010
I just want to confirm something before I mess with the bootloader. It kind of scares me to rewrite my MBR. It appears that the grub version that comes with Ubuntu 10.10 drives its menu generation from /etc/grub.d/* when you execute update-grub. If I want to put windows first in the list, could I just rename "30_os-prober" to something like "09_os-prober" and run update-grub? My reason for this is every time Ubuntu updates the kernel, it adds 2 new entries to grub's boot menu. It's easy enough to remove these via the Synaptic Package Manager, but that means for at least 1 boot cycle, my default OS gets messed up (Windows). I have to leave it as the default for others that use the computer, even though I prefer Ubuntu.
View 6 Replies
View Related
May 11, 2011
I had tried many distros over the years but settled on Ubuntu for the last two or three, unfortunately the new version of Ubuntu (Natty) has prompted me to make the change again. To keep access to all my Ubuntu docs e.t.c. I installed Fedora 14 on a seperate partition and hey presto, there's the Ubuntu partition for me to read from, problem is that my laptop still just boots straight into Fedora, this is ok on my laptop but I wanted to make the switch on my desktop as well which has the wife's Windows partition on it, not being able to boot into that would cause eruptions! The problem is that Fedora hasn't installed a Grub menu.
On advice I typed this:-
[eric@Eric-Fedora ~]$ grub-install -v
and got:-
grub-install (GNU GRUB 0.97)
[eric@Eric-Fedora ~]$
View 4 Replies
View Related
Feb 21, 2011
I'm working my way through my Linux self-education and I'm hitting a slight road block. After consulting forum posts here and elsewhere, I have tried to alter my grub boot order by editing my menu.lst file found in /boot/grub. I don't seem to be having any luck. Changing the default [value] doesn't seem to work, nor does the savedefault. Below is a copy of my file.
Code:
# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.
default 4
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default0
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout10
## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu
# Pretty colours
#color cyan/blue white/blue
## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
# password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret
# examples
# titleWindows 95/98/NT/2000
# root(hd0,0)
# makeactive
# chainloader+1
# titleLinux
# root(hd0,1)
# kernel/vmlinuz root=/dev/hda2 ro
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below
## DO NOT UNCOMMENT THEM, Just edit them to your needs
## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=18250e14-e47e-4bf9-a927-6456120575f8 ro
## default grub root device
## e.g. groot=(hd0,0)
# groot=18250e14-e47e-4bf9-a927-6456120575f8
## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true
## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false
## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=0x317 resume=/dev/hda5
# defoptions=vga=0x317
## should update-grub lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=false
## Xen hypervisor options to use with the default Xen boot option
# xenhopt=
## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0
## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery) single
# altoptions=(recovery mode) single
## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all
## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true
## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false
## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false
## ## End Default Options ##
splashimage=18250e14-e47e-4bf9-a927-6456120575f8/boot/grub/splash.xpm.gz
titleBackTrack 4 R2, kernel 2.6.35.8
uuid18250e14-e47e-4bf9-a927-6456120575f8
kernel/boot/vmlinuz-2.6.35.8 root=UUID=18250e14-e47e-4bf9-a927-6456120575f8 ro quiet splash
initrd/boot/initrd.img-2.6.35.8
quiet
titleBackTrack 4 R2, kernel 2.6.35.8 (recovery mode)
uuid18250e14-e47e-4bf9-a927-6456120575f8
kernel/boot/vmlinuz-2.6.35.8 root=UUID=18250e14-e47e-4bf9-a927-6456120575f8 ro single
initrd/boot/initrd.img-2.6.35.8
titleBackTrack 4 R2, memtest86+
uuid18250e14-e47e-4bf9-a927-6456120575f8
kernel/boot/memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
titleOther operating systems:
root
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
titleWindows Vista/Longhorn (loader)
root(hd0,0)
savedefault
makeactive
chainloader+1
View 2 Replies
View Related
Jan 23, 2011
I moved my NTFS partition with XP and after restarting got the grub> prompt. ls,grub-install and mount are not recognized. find /boot/grub/stage1 (hd0,2,a)
how can I recover? my *nix is osol and I have grub 0.97 (legacy)
I have both a osol and ubuntu cds, but it seems I should be able to load from the grub prompt.
View 3 Replies
View Related