I have a laptop that came with Windows Vista (64-bit) installed. I created a new partition and installed XP (also 64-bit) alongside it.Last night I shrunk my XP partition and created another new partition and installed Linux (CentOS 64-bit) on it. I made an error in judgment and didn't allocate enough space, so I need about 10 more gigs for the Linux partition. It boots up and runs, but I need about 10 more gigs of storage for the files I want to keep on the partition (and yes, they have to be on the partition, I definitely need to know how to do this, not a workaround)I went into Vista and shrunk the XP partition by 10 gigs, so now I have 10 gigs of free, non-partitioned space.
As it stands, when I start up the computer I get the GRUB boot loader. I can boot my Linux install or choose "Other" and be taken to the Vista boot loader. From there I can choose XP or Vista to boot.So, my question is... what is the best way to append the 10 gigs of free space to the Linux partition? Is this something I should do inside of Linux? I have the option to do it in Vista, but the partition shows up as "healthy" but without a file system type.I just don't want to screw up the boot loader, partitions or anything else.This isn't my area of expertise, so if anyone could give me a good suggestion or solid answer
3 partitions (in order): Windows 7, CentOS and shared data partition.
I need to increase the size of the Windows 7 partition (c:windowswinsxs seems to be something not easily remedied).
GParted didn't work in moving things around (bad sector) so I wiped out its partition (# 2 out of 3) and I was able to increase the size of the Windows 7 partition (I can reinstall CentOS easily and not much work lost).
Except ... no more grub menu (unsurprising). This incantation does allow me to boot into Windows 7.
Is there any way of rebuilding the grub menu short of reinstalling CentOS (5.5)?
Ubuntu 10 is great. Love it. Am still running with dual boot as am a bit of a games addict. However want to give Ubuntu more room as will be my work area. Can I make the Linux partition bigger with the disk utility that comes with Ubuntu 10.10?Played around with Linux in the early '90's.Sure has changed.Easy installation, device recognition better than Win 7 and great working environment.
When I installed Ubuntu I set it up to dual-boot with windows and didnt put much thought into the partition sizes, and now I want to make the ubuntu partition bigger. I shrunk the windows partition from gparted fine and then booted up off my ubuntu 10.04 disk to make the ubuntu partition bigger, but it won't let me do so from gparted. Attached is a picture of how my hard drive's currently set up.
i have windows xp with ntfs partitions on my laptop i want to install centos on it will i be able to dual boot centos with windows xp on the ntfs partition
I had installed CentOs 5.3 on a Virtual Box machine (v. 3.0.10) and then I needed more free space to upgrade to CentOS 5.4 on partition /. I wanted to substract some space from /home partition in order to add some more free space to /. Thus I used a gparted live cd (v. 0.4.8-1) that it is a debian live cd. I resized the partition as I wished and every operations went successfully, but when I tried to reboot the only message that I see its 'GRUB' and nothing else happen. If I start again with the gparted live cd, everything seens to be fine as the partitions are there but I can't boot the system.
I'm trying to achieve my dream (but indeed not perfect) boot scenario: dual-boot OpenSUSE and Fedora with shared /boot, /home and SWAP partitions. First I installed OpenSUSE (sda3 on my layout below) with separate /boot (sda2), /home (sda5, encrypted) and SWAP (sda6), next I installed Fedora on /dev/sda1, and pointed it to mount sda2, sda5, sda6 with respective mount points, without formatting. I proceeded with the installation without installing new GRUB bootloader (overwriting an existing one).
It was successfull and now I'm back in OpenSuSE trying to edit menu.lst file (under /boot/grub) to make GRUB boot Fedora.
I attached a copy of menu.lst I cooked up for now. OK, it's a mess. Life would be allot easier if I didn't have a separate /boot partition, as I could just chainload, but it's no longer possible (or is it?). May be I needed to specify the resume device or problem is in initrd? below are the contents of /boot:
I have Vista Home edtion and Linux, I have formatted Linux partions and now that Grub is not letting me boot into Windows..I had C:wIndows D:New Volume and rest of the space was E:
I'm a visual effects artist and although many VFX post production houses use linux, I've always used windows because of the programs. At this point, I've migrated to different programs which are also available on linux. The only set of programs I won't have, would be the Adobe Suite. So, I decided to finally start using linux again. I used it back when I was a kid for a few years, but just to have it really. We mainly use macs at work, but I'm switching to linux now.
Since I mainly use Autodesk Maya, the first choice would've been RHEL. Which is why I'm here now, you can guess.
I've downloaded the .iso of CentOS 5.5 and checked it against the hashes and it came out fine. I burned it to a DVD and booted my main computer (I have 3 I plan on installing it onto) and tested the media, came back fine.
I have two HDs, one 1.5TB SATA and one 150GB SATA. The 1.5TB is the C: drive of windows, and I've shrunk it to allow 80GB for linux.
So that is sda. sda1 is the windows partition and I make sda2 ext3 out of the empty space by choosing the custom partition scheme. It installs fine.
However, booting up the computer boots straight to windows. No GRUB.
I've reinstalled many times now, changing the GRUB from sda to sda1 to sda2. Nothing.
[url]
I've adapted that guide to CentOS and tried that, but whenever I select the CentOS option during bootup, the computer instantly restarts itself.
I've tried reinstalling the GRUB via a Live CD like many googled sites say to, but I always get errors.
If I find the /boot/grub/stage1, it says it can't be found.
If I try to setup GRUB, it says /boot/grub/stage1 is unreadable
So, I download the Ubuntu CD and install that. I use the guide previously posted to do the same thing, by installing GRUB onto sda2 where Ubuntu is.
So I pick that option on startup and it brings me to Ubuntu's GRUB menu. It all works fine. CentOS doesn't though.
Ubuntu is using GRUB2, so it has a grub.cfg file. Inside the file near the end, it lists Ubuntu as (hd0,2) and windows as (hd0,1).
That shouldn't be right? What's (hd0,0) then?
The CentOS grub.conf file lists CentOS as (hd0,1) and windows as (hd0,0). That should be correct. But I change it anyway to (hd0,2) and (hd0,1) and it still doesn't work.
I am trying to install a box here where my /storage partition is about 2.5T.I had setup the partitioning with suse, while testing, and all worked well.Now when trying to install CentOs 5.5 it gives me an error, that my boot partition is on a gpt partition and this machine cannot boot that.Also I don't see the option to create XFS partitions from the installer.Can 5.5 support GPT @ install time?
For various reasons, I have to learn my way around CentOS. I have an old computer (P3) with Slackware on it. I threw in a second HDD that I had lying around and installed CentOS to it. I was figuring that I'd just decline installing GRUB or point GRUB to Slackware as the second OS and end up with dual boot.
The CentOS install, though, blew right past that part with offering me any options. It put a small boot partition on the CentOS drive and now the box boots straight into CentOS.
I've spent the better part of the day trying to get GRUB to boot the Slackware drive and had no luck, though I've learned a lot about GRUB error messages.
By the way, CentOS uses GRUB v 0.97.
Question: someone could point me to a reference.
Here's the output of fdisk -l on that computer (/dev/sda is a 4GB SCSI disk that was originally the boot disk for Windows 2000 server on that computer):
Code:
Here's the currentGRUB file. I added the section about Slackware. I've also tried pointing it at:
Code:
I've also tried:
Code:
Code:
Slackware's LILO:
It's been six months or more since I used this computer. It's my experiment-er "play" computer and I had taken the HDD out to test a computer for one of the members of my LUG, so I can't remember exactly how I configured the LILO install, but, if I did what I usually do, I installed it to the MBR of /dev/hda. I have considered just blowing away LILO, but I'd be happier if I could just use GRUB to call LILO.
I have a dual boot system 9.10 and XP. The hard drive is 234. For some reason during the install I only allocated 128 to windows and 16 to ubuntu. Or at least, gparted tells me I have 127.99 NTFS and 104 unallocated (=231G ??).
System monitor tells me I have the following: /dev/loop0 is ext4 = 16 G total /dec/sda1 is host = 128 G total this is 134G total
From windows, the partitioner tells me the same. I have 104 of unallocated disk space and 128 of NTFS. I assume the 16G allocated to ubuntu is inside the 128G?. How do I get that additional 104 into ubuntu without screwing up the MFT of windows. Or can I? Is it as simple as telling gparted to format the space? or will that mess windows up?
I want to install Centos 5.5 onto the supermicro server as a dual boot for 64 bit Centos 5.5 and 32 bit Centos 5.5. It has two hard disks at /dev/hda and /dev/hdc.
What is the best way to do this?
I have tried the following but it doesn't work:
1. Install the Centos 64 bit as a fresh installation onto /dev/hda. During the installation walkthrough, it says the grub loader will be installed on /dev/hda/ and there will only be one item on the GRUB menu: CentOS /dev/VolGroup00/LogVol00
2. After installing the Centos 64 bit, I tried to install the Centos 32 bit as a fresh installation onto /dev/hdc. During the installation, the GRUB loader cannot detect the Centos 64 bit installation.
How to make the GRUB to detect both Centos 64 bit and 32 bit? Is there any documentation for reference?
I'm trying to install a dual booting machine with OpenSUSE v11.1 32bit and CentOS v5.2 64bit. I installed OpenSUSE first and allowed it to install and configure grub in the MBR and after that I wanted to proceed with CentOS v5.2. The installation went fine with two notable exceptions:- when I had to configure grub installation parameters, CentOS offered me only 2 solutions: either install it on the MBR of the first hard disk or not installing it at all. Other distributions are more flexible allowing you to install it in the boot sector of the root partition for example. Because I didn't want to ruin the existent grub onfiguration, I reluctantly accepted not to install it for CentOS assuming that I could manually configure the entry later in grub's menu.lst file.
- when I was presented with the options for software components installation, I've clicked on virtualization category/function because I intend to use the machine as a VMware host. There was no guidance on screen at that point and I blindly assumed that by choosing the virtualization function I would get necessary tools and drivers that will help me further on. It seems that this was a wrong move as you can see it below.
After completing the installation, I tried to search for a template or guiding on how the menu entry in menu.lst should look like but the grub directory was empty, not surprisingly because I've told CentOS earlier not to install it. Using the files in the /boot directory from the CentOS installation I tried to improvise a menu entry but it's not working. The boot stops with famous Error 13: Invalid or unsupported executable format. Using the file command to check what kind of files I'm trying to load as kernels I'm getting :
marte:~ # file /mnt/vmlinuz-2.6.18-92.el5xen /mnt/vmlinuz-2.6.18-92.el5xen: gzip compressed data, from Unix, last modified: Tue Jun 10 19:20:51 2008, max compression
I recently installed CentOS 5.5 final on my HP 18 X Notebook 64 bit processor, I have two physical hardrives each 320 GB, whilst installing CentOS I created LVM ,please find output of my fdisk -l fdisk -l
Disk /dev/sda: 320.0 GB, 320072933376 bytes 255 heads, 63 sectors/track, 38913 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes
[Code]..
This installation of CentOS 5.5 will host Asterisk in future ,now for my day to day activities (playing movies, surfing the web etc) I would like to install Ubuntu 10.04 LTS (64 bit) as a dual operating system on my exisiting system.I download the .iso image and copied it on a disk, while booting from CD and through the installation process at the partition screen it does not show me my exisiting LVM or CentOS installation.I stopped the process fearing I may delete my existing CentOS,
Today I was messing around with my partitions, and I decided to shrink my main partition that had Windows on it, so that I would could have one big storage partition and then a Windows 7 one and a Ubuntu one. Well, it didn't really work so I decided just to wait for Lucid to come out and start with a fresh install. So I went into EASEUS Partition Manager and resized my main Windows 7 partition back to its normal size. It had to reboot and did its stuff, and then when I restarted my computer, grub was showing the grub rescue> thing. So I went into the Windows 7 recovery disk, and tried all the BootRec.exe options. None of those worked. So I decided to go to the extreme and just delete Ubuntu completely.
I deleted the entire partition with GParted and then resized the main partition all the way. Then I booted into a Ubuntu live usb and re-installed Ubuntu. I thought it would just reinstall Grub and I would be able to get to both Ubuntu and Windows 7. It did install Grub, but now I can only boot into Ubuntu. It's really weird, because I can boot into windows, it just says starting windows and does the loading thing. And then EASEUS Partition Manager comes and says that all resize operations were complete successfully(because I hadn't booted into windows since I resized stuff with it) and then the screen just stays black for a long time. I don't know what to do. If I wait long enough, my computer just reboots...
First of all, the boot device is an 16GB SD card. I install Citrix XenServer on it but I make the partition too small (XenServer makes a lot of logs file). I resize the partition but now it give "Illegal OpCode" and red screen everytime it boot.I already create the image of the whole SD card using dd and already try these process three times = restore the image, test that it can boot properly, then resize the partition using gparted, then it can't boot.
I already post this question in XenServer forum (with screenshot) but nobody answer there.The hardware itself is HP Proliant ML350 G6 with internal SD slot.
Upon booting from DVD, i get the below error: "CentOS CD Not found in any of the media drives. Please insert CentOS CD and press OK."
I have IDE Sony DVD RW AW-G170.
BIOS Setting:
Downloaded the CentOS-5.4-i386-bin-DVD image from centos.org from DVD.torrent using bittorrent file. When booting from the DVD, it gives me the boot prompt:
Upon pressing enter, the log messages of the boot detect the media drive as: hdc: Sony DVD RW AW-G170 IDE ATAPI CD.
The below steps occur: 1) Select the keyboard type: selected us
2) Select the Language : selected us
3) Select the image: - Local CDROM - Hard Drive - NFS Image ... ... selected Local CDROM
Then the above error "CentOS CD Not found in any of the media drives. Please insert CentOS CD and press OK."
The booting steps does not ask the for media check step.
The below methods have been tried to solve the problem:
- Burnt the image in another 2 DVDs but the same error "CentOS CD Not found in any of the media drives. Please insert CentOS CD and press OK."
- Upon burning the DVD image , selected the DVD read speed: 8x. Upon burning the DVD selected 18x for burning. and then tried to boot with that DVD
- At the boot prompt entered : linux hdc=cdrom replaced hdc=hdb but the error remains.
I have Windows XP installed. And I also plan to install CentOS 5.4.I have two hard drives. Hitachi 500 GB and WD 500 GB.Windows XP is intalled on first drive And I plan to install Linux on Second drive. And since i find some contradicting and not understood by me posts. I have to be sure what to do. I can install Linux, then i can edit grub. and add there something like:
title Windows map (hd0) (hd1) map (hd1) (hd0) root (hd1,0) chainloader +1
When its on one drive as I understand it will definately work. But if its on 2 different drives. There is a problem that windows doesn't boot from secondary drive. So I find this article witch i cannot understand. Do i have to understand it? Or its wrong and bad decision.
[URL]
I have no RAID.After all what is step by step process of creating bootable CentOS and Windows situated on different hard drives drives?
A while back I ran into the situation of running out of space on /boot. When I last installed Suse I just went with the recommended LVM layout, which proposes a very small /boot partition. When you run out of space you are now faced with resizing the LVM, which Gparted unfortunately does not support.In Googling around I did not find a concise guide, so I collected the information I needed and and then wrote a guide on the steps I used to resolve this issue and it is available at Resizing Default LVM Partitions and Moving /boot - Mine the Harvest
I found using EVMS from a live CD to be quite simple and was able to create a new /boot partition and reconfigure grub to use it in very short order. I was quite impressed with how easy to use EVMS was and the options it provides. (I think that the default LVM layout the Suse installer proposes is overly conservative on the size of the /boot partition. Why not allocate a few hundred megs, especially considering the size of drives today? Perhaps Suse will soon move to using grub2 and eliminating /boot altogether, but for now the very small allocation of space can be a bit of a pitfall for users -- especially when they are not familiar with resizing LVMs and reconfiguring grub. Of course moving to grub2 also introduces its own complexities too.)
After running Lucid since it's release I decided to wipe out my Karmic partition yesterday in order to utilize that space better elsewhere. So I booted up with the Karmic LiveCD, using the option just to check out Ubuntu. Then I opened up Gparted, unswapped (unmounted) the swap partition, made sure nothing else was mounted, and proceeded to delete my Karmic partition which then provided me with about 40 GB of unused space.
Since I wanted to re-assign 10 of those GB to my primary Ubuntu software partition where I keep all of my personal data, I went ahead and resized that one to make it 10 GB larger. First I had to move the empty space over which took several hours, but that wasn't a problem. Resizing the partition wasn't a problem either. Then I wanted to re-assign the remaining 30 GB to my Ubuntu boot partition which contains strictly my Ubuntu system ... and that's where the problem is.
The remaining unused space on the hard disk is located directly next to my Ubuntu boot partition. No matter what I do while using Gparted via the LiveCD, it doesn't seem to be possible for me to enlarge that boot partition. Does anyone know how I can do this either via Gparted, the Disk Utility from Lucid, or even via the terminal?
I used gparted in PartedMagic to resize my /home partition from 360GB to 160GB, and create a new FAT32 partition out of the remaining 200GB.My /home directory only had about 9GB worth of files in it and as far as I can tell there was no reason for any of them to be anywhere near the portion which was deleted. So the resizing and creating the new partition seemed to go fine. Then I rebooted and it got stuck while booting into Debian.
I tried checking my BIOS for an IOMMU option but there doesn't seem to be one at all. I also only have 4GB of RAM so I don't know why it thinks I have 4.75GB.
I meet a problem about "Your boot partition is on a disk using the GPT partitioning Scheme but this machines cannot boot using GPT." in installation. Does GRUB-0.97 on CentOS 5.4 support GPT?
have a problem with my latest install as follows:1) If I install Fedora 15 so its bootloader is in the MBR (/dev/sdc1) and Centos 6's bootloader into the first sector of the boot partition (/dev/sdc3) I have no problem chainloading from Fedora 15 into Centos6 with the following in Fedora's grub.conf. This has always been the way I have set up multiple OS's (I like the chainloader method).
linux and a good thing to start is to install centos in my pc together with windows xp. please help me on how to dual boot Centos 5.0 and Windows XP pro step by step.
I've been allocated a Dell Latitute 5400 laptop. Initially it was installed with Windows XP Service Pack 3. Next I repartition every thing using gpart.
Next I install Centos 5.3
during the installation process, I choose windows xp as my default system since my work place works in Windows XP.
but real problem is after installing Centos 5.3 I'm not able to choose which OS to boot.
I've refer to [URL]
but after I go into linux rescue
what I found is that lilo is not installed.
ls -lrth /sbin/lilo
neither is there any presence of /etc/lilo.conf
how am I going to resolve this issue so that I have a chance to choose which OS I can boot into?
If you select "support virtualization" during install, you get the xen kernel installed.
Some things do not work with this kernel (e.g. nVidia drivers). So my question is whether it is possible to install both kernels (xen and ordinary) and select between them with grub at boot time?
I did try this a while ago, by first installing with xen and then manualy adding the ordinary kernel, but the ordinary kernel failed to boot (for reasons I don't now recall - sorry). Clearly, there must be differences in the "virtualization" build other than the kernel.
The alternative, if I want to play with virtualization, would be to have two entirely separate installations, but this seems like a waste of space when surely almost everything must be identical?
I can't find anything in the Centos Xen documentation about this.
Before I try again I would just like to check if anyone actually knows if this is possible, or if not why not?
I have a problem trying to install CentOS 5 as a dual-boot with my Windows 7. Using Windows tools, I shrunk my main partition and created about a 100GB of unallocated free space. Then, I restarted my computer, booting from the CentOS dvd, but when choosing "Use free space on selected drives and create default layout" option during installation, I get an error saying that partitions couldn't be allocated as primary partitions and that there is not enough space left to create partition for /boot.
Can anyone here point me to a walk-through or discussion of how to use Webmin to set up port forwarding/NAT on a dual-NIC Centos 5.3 box? The layout will be simple:
Internet --- NIC1 [CentOS Box] NIC2 --- Switch to other PCs
We have a BUNCH of exposed services that are on special ports -- for example, to connect to one machine, you go in with [IP_Address]:12000, and to connect to another, [IP_Address]:12002, etc., etc. We're currently using OpenSuse 10.3 on this box, and YaST makes this criminally easy (you give it the incoming port number and the destination IP/port numbers and it just works). But OpenSuse 10.3 is nearing EOL, we're buying a new machine, and I'd like to use CentOS on the new one.
I've read the sparse Webmin documentation in their Wiki, and it leads one to believe that you simply insert a "NAT" rule. But there's obviously something they're leaving out. I *am* opening the ports in the firewall. But when I log in to [IP_Address]:port, it just times out. The port forwarding never occurs. The test in this case is SSH, and I know that SSHD is working properly because I can log into that machine just fine from another PC on the same internal subnet.