[SOLVED] Install Debian Jessie alongside CentOS 7 on a Sony Vaio
DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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"
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 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"?
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628
Rep:
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.