LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 11-29-2014, 05:43 PM   #1
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
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:-
 
Old 11-29-2014, 05:50 PM   #2
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
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

Last edited by EDDY1; 11-29-2014 at 06:10 PM.
 
Old 11-29-2014, 06:19 PM   #3
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by EDDY1 View Post
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:-
 
Old 11-29-2014, 06:33 PM   #4
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
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"

Last edited by EDDY1; 11-29-2014 at 06:35 PM.
 
Old 11-29-2014, 07:04 PM   #5
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
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

Last edited by Ztcoracat; 11-29-2014 at 07:08 PM.
 
Old 11-29-2014, 07:17 PM   #6
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
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
 
Old 11-29-2014, 07:23 PM   #7
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by EDDY1 View Post
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"?
 
Old 11-30-2014, 12:06 AM   #8
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
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.

Last edited by Ztcoracat; 11-30-2014 at 12:14 AM.
 
Old 11-30-2014, 12:38 AM   #9
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
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?
 
Old 11-30-2014, 01:11 AM   #10
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637
It is highly unlikely, unless you overwrote CentOS which you didn't, that Debian has done anything to your CentOS install.
 
Old 11-30-2014, 01:18 AM   #11
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Whipe in CentOS do
Quote:
dhclient eth0
Or l
Quote:
dhclient wlan0
 
Old 11-30-2014, 02:28 AM   #12
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by k3lt01 View Post
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:-
 
Old 11-30-2014, 02:40 AM   #13
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by EDDY1 View Post
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"
 
Old 11-30-2014, 08:04 AM   #14
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
rfkill list
 
Old 11-30-2014, 02:10 PM   #15
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sony vaio 3d video drivers Centos 6.2 Nemesissparadise Linux - Laptop and Netbook 1 02-20-2012 06:37 AM
screen out of window on sony vaio, debian podkov Linux - Laptop and Netbook 4 06-18-2010 06:57 AM
Help with install Debian on my Sony VAIO FS. harlemno1 Linux - Laptop and Netbook 1 02-25-2005 07:42 PM
DISCUSSION: Install ipw2200 on Sony VAIO VGN-A217M & Debian Unstable steve1401 LinuxAnswers Discussion 0 01-04-2005 02:53 PM
help me install linux on sony sony vaio pcg-r505gl heina Linux - Newbie 4 10-10-2004 10:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 01:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration