LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Install Debian Jessie alongside CentOS 7 on a Sony Vaio (https://www.linuxquestions.org/questions/debian-26/install-debian-jessie-alongside-centos-7-on-a-sony-vaio-4175526849/)

Ztcoracat 11-29-2014 05:43 PM

Install Debian Jessie alongside CentOS 7 on a Sony Vaio
 
I just finished burning Debian Jessie to a DVD+R; the md5sum signature's were good but before I start the installation I have a few questions.

I already have CentOS installed on this Vaio and have 250.49 GB free because I deleted the Win's 7 partitions that came with this laptop. This laptop is a 64-bit Intel i5 machine.

Code:

  Device Boot      Start        End      Blocks  Id  System
/dev/sda4      525324288  976773167  225724440    5  Extended
/dev/sda5      525326336  526350335      512000  83  Linux
/dev/sda6      526352384  976773119  225210368  8e  Linux LVM

Disk /dev/mapper/cl-root: 53.7 GB, 53687091200 bytes, 104857600 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mapper/cl-swap: 6325 MB, 6325010432 bytes, 12353536 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mapper/cl-home: 170.6 GB, 170599120896 bytes, 333201408 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

If upon the first boot after installing Debian I don't see my CentOS 7 partitions in the Grub Menu...how do I add them?

BTW, I tried yum update-grub in the past and it didn't work:-

Code:

[root@localhost ]# update-grub
bash: update-grub: command not found...
[root@localhost ]#

I'd like to be prepared before the Debian installation so that I am able to boot this machine w/o any surprises.

Thanks in advance:-;)

EDDY1 11-29-2014 05:50 PM

Is windows still listed in you grub menu at boot?
If it is then use the post below to see if it removes windows entry.
Take a look at the last post.
http://unix.stackexchange.com/questi...centos-systems

Ztcoracat 11-29-2014 06:19 PM

Quote:

Originally Posted by EDDY1 (Post 5276833)
Is windows still listed in you grub menu at boot?
If it is then use the post below to see if it removes windows entry.
Take a look at the last post.
http://unix.stackexchange.com/questi...centos-systems

No, Window's is not listed in my Grub Menu:-

EDDY1 11-29-2014 06:33 PM

When I had problems with update-grub finding another os I mounted it's / then update-grub was able to find it.
Don't forget when you install debian use "Advanced Options>>Expert Install"

Ztcoracat 11-29-2014 07:04 PM

What mnt command would I use to mnt the CentOS root/boot partition?
I see on the man page that there is more than one -flag to use.
I've never had to mnt like that:-

I'm looking here to try to understand:
http://linux.die.net/man/8/mount

EDDY1 11-29-2014 07:17 PM

I usually just mount from my file manager.
But if you mount from command line it doesn't have to be rw it can be ro so long as it's mounted

Ztcoracat 11-29-2014 07:23 PM

Quote:

Originally Posted by EDDY1 (Post 5276861)
I usually just mount from my file manager.
But if you mount from command line it doesn't have to be rw it can be ro so long as it's mounted

Ok, so if the first boot after the install takes me to the Debian os than I would just mnt the Centos os from Debian and than run "apt-get update-grub"?

Ztcoracat 11-30-2014 12:06 AM

The installation was a complete sucess!

Debian Jessie is exceptionally nice; I'm happy-;)

Upon the first boot my CentOs partition was in the GNU Grub Menu.

I have the Debian DVD and the CentOS DVD if I have any trouble booting either os.

I'm going to reboot go to Centos and reboot back into Debian to ensure everything on this machine is right:-

Thanks for your help EDDY1.

Ztcoracat 11-30-2014 12:38 AM

I was able to boot into my CentOS but for some reason I do not have the Network Manager and I did have it before my fresh install of Debian.

-:-I'm guessing I'll have to manually install the network mgr-:-

Anyone: know why the Network Manager disappeared?

k3lt01 11-30-2014 01:11 AM

It is highly unlikely, unless you overwrote CentOS which you didn't, that Debian has done anything to your CentOS install.

EDDY1 11-30-2014 01:18 AM

Whipe in CentOS do
Quote:

dhclient eth0
Or l
Quote:

dhclient wlan0

Ztcoracat 11-30-2014 02:28 AM

Quote:

Originally Posted by k3lt01 (Post 5276932)
It is highly unlikely, unless you overwrote CentOS which you didn't, that Debian has done anything to your CentOS install.

Your right; it wasn't Debian that hosed my Network Manager:-

Ztcoracat 11-30-2014 02:40 AM

Quote:

Originally Posted by EDDY1 (Post 5276934)
Whipe in CentOS do

Or l

After running dhclient wlan0 the termianl returned:

Code:

Can't create /var/run/dhclient.pid:permission denied
Cannot find device "wlan0"


EDDY1 11-30-2014 08:04 AM

rfkill list

widget 11-30-2014 02:10 PM

It has been a while but there are 2 things that you should try in relation to your "update-grub" problem;
A>
Code:

grub-mkconfig
B>
Code:

update-grub2
RH branch uses a bit different commands due to their initial resistence to grub-pc in favor of grub-legacy.

grub-mkconfig is actually the command that, by original design, that is supposed to do that job and I believe it is fully impimentted in all grub-pc versions out there now.

update-grub2 was used by, if I remember right, Fedora 17. Also did work in Magea 2 with grub-pc.


All times are GMT -5. The time now is 10:42 AM.