[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.
Can't open RFKILL control device: No such file or directory
I also tried running /etc/initid/network start and that returned:
Code:
No such file or directory
I had to take a picture with my tablet because CentOS doesn't see my usb memory stick now--
Here's the output of ifconfig -a.........(wlan0 isn't in the list) http://s1052.photobucket.com/user/Ul...55327.jpg.html
You need it in CentOS if that's the OS that wireless isn't working.
Also if your debian OS is asking for cd/dvd you need to comment it out in /etc/apt/sources.list
You need it in CentOS if that's the OS that wireless isn't working.
Also if your debian OS is asking for cd/dvd you need to comment it out in /etc/apt/sources.list
I tried using yum to install rfkill. Yum is not working because it isn't establishing the wifi connection.
Do you mean the second entry in the /etc/apt/sources.list? (to uncomment)
Code:
# deb cdrom:[Debian GNU/Linux jessie-DI-b2 _Jessie_ - Official Snapshot amd64 D$
deb cdrom:[Debian GNU/Linux jessie-DI-b2 _Jessie_ - Official Snapshot amd64 DVD$
deb http://mirrors.kernel.org/debian/ jessie main non-free contrib
deb-src http://mirrors.kernel.org/debian/ jessie main non-free contrib
deb http://security.debian.org/ jessie/updates main contrib non-free
deb-src http://security.debian.org/ jessie/updates main contrib non-free
My laptop locked up twice. The only thing I was able to do is hold down Ctrl+Alt+F2 and tried 'startx' and the laptop just hung at a black screen.
-:-I uncommented that line associated with the DVD-:-
I tried grub-mkconfig and update-grub the terminal on the CentOS side:
Code:
command not found
Looking at the Grub Menu Debian is first os to boot to and is flagged with a start.
Code:
root@debian:/home/zebra# grub-mkconfig
Generating grub configuration file ...
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
load_env
fi
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="0"
fi
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 28a1c423-844b-40d9-a139-57c6ad354272
else
search --no-floppy --fs-uuid --set=root 28a1c423-844b-40d9-a139-57c6ad354272
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=en_US
insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
set timeout=-1
else
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=5
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=5
fi
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 28a1c423-844b-40d9-a139-57c6ad354272
else
search --no-floppy --fs-uuid --set=root 28a1c423-844b-40d9-a139-57c6ad354272
fi
Found background image: /usr/share/images/desktop-base/desktop-grub.png
insmod png
if background_image /usr/share/images/desktop-base/joy-grub.png; then
set color_normal=white/black
set color_highlight=black/white
else
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
set gfxpayload="${1}"
}
set linux_gfx_mode=
export linux_gfx_mode
Found linux image: /boot/vmlinuz-3.16-2-amd64
Found initrd image: /boot/initrd.img-3.16-2-amd64
menuentry 'Debian GNU/Linux' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-28a1c423-844b-40d9-a139-57c6ad354272' {
load_video
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 28a1c423-844b-40d9-a139-57c6ad354272
else
search --no-floppy --fs-uuid --set=root 28a1c423-844b-40d9-a139-57c6ad354272
fi
echo 'Loading Linux 3.16-2-amd64 ...'
linux /boot/vmlinuz-3.16-2-amd64 root=UUID=28a1c423-844b-40d9-a139-57c6ad354272 ro quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.16-2-amd64
}
submenu 'Advanced options for Debian GNU/Linux' $menuentry_id_option 'gnulinux-advanced-28a1c423-844b-40d9-a139-57c6ad354272' {
menuentry 'Debian GNU/Linux, with Linux 3.16-2-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16-2-amd64-advanced-28a1c423-844b-40d9-a139-57c6ad354272' {
load_video
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 28a1c423-844b-40d9-a139-57c6ad354272
else
search --no-floppy --fs-uuid --set=root 28a1c423-844b-40d9-a139-57c6ad354272
fi
echo 'Loading Linux 3.16-2-amd64 ...'
linux /boot/vmlinuz-3.16-2-amd64 root=UUID=28a1c423-844b-40d9-a139-57c6ad354272 ro quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.16-2-amd64
}
menuentry 'Debian GNU/Linux, with Linux 3.16-2-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16-2-amd64-recovery-28a1c423-844b-40d9-a139-57c6ad354272' {
load_video
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 28a1c423-844b-40d9-a139-57c6ad354272
else
search --no-floppy --fs-uuid --set=root 28a1c423-844b-40d9-a139-57c6ad354272
fi
echo 'Loading Linux 3.16-2-amd64 ...'
linux /boot/vmlinuz-3.16-2-amd64 root=UUID=28a1c423-844b-40d9-a139-57c6ad354272 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.16-2-amd64
}
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/30_os-prober ###
Found CentOS Linux release 7.0.1406 (Core) on /dev/mapper/cl-root
menuentry 'CentOS Linux release 7.0.1406 (Core) (on /dev/mapper/cl-root)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-49e2d152-2015-4e95-8f4b-95d32c3cb2d4' {
insmod part_msdos
insmod xfs
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 e7157311-39f6-473c-866c-ca51d129314c
else
search --no-floppy --fs-uuid --set=root e7157311-39f6-473c-866c-ca51d129314c
fi
linux /vmlinuz-0-rescue-f89a5e4f16ec45d7bac9652929fcb46e root=/dev/dm-1
initrd /initramfs-0-rescue-f89a5e4f16ec45d7bac9652929fcb46e.img
}
submenu 'Advanced options for CentOS Linux release 7.0.1406 (Core) (on /dev/mapper/cl-root)' $menuentry_id_option 'osprober-gnulinux-advanced-49e2d152-2015-4e95-8f4b-95d32c3cb2d4' {
menuentry 'CentOS Linux release 7.0.1406 (Core) (on /dev/mapper/cl-root)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-0-rescue-f89a5e4f16ec45d7bac9652929fcb46e--49e2d152-2015-4e95-8f4b-95d32c3cb2d4' {
insmod part_msdos
insmod xfs
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 e7157311-39f6-473c-866c-ca51d129314c
else
search --no-floppy --fs-uuid --set=root e7157311-39f6-473c-866c-ca51d129314c
fi
linux /vmlinuz-0-rescue-f89a5e4f16ec45d7bac9652929fcb46e root=/dev/dm-1
initrd /initramfs-0-rescue-f89a5e4f16ec45d7bac9652929fcb46e.img
}
menuentry 'CentOS Linux release 7.0.1406 (Core) (on /dev/mapper/cl-root)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-3.10.0-123.9.2.el7.x86_64--49e2d152-2015-4e95-8f4b-95d32c3cb2d4' {
insmod part_msdos
insmod xfs
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 e7157311-39f6-473c-866c-ca51d129314c
else
search --no-floppy --fs-uuid --set=root e7157311-39f6-473c-866c-ca51d129314c
fi
linux /vmlinuz-3.10.0-123.9.2.el7.x86_64 root=/dev/dm-1
initrd /initramfs-3.10.0-123.9.2.el7.x86_64.img
}
menuentry 'CentOS Linux release 7.0.1406 (Core) (on /dev/mapper/cl-root)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-3.10.0-123.9.3.el7.x86_64--49e2d152-2015-4e95-8f4b-95d32c3cb2d4' {
insmod part_msdos
insmod xfs
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 e7157311-39f6-473c-866c-ca51d129314c
else
search --no-floppy --fs-uuid --set=root e7157311-39f6-473c-866c-ca51d129314c
fi
linux /vmlinuz-3.10.0-123.9.3.el7.x86_64 root=/dev/dm-1
initrd /initramfs-3.10.0-123.9.3.el7.x86_64.img
}
}
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
done
root@debian:/home/zebra#
Code:
root@debian:/home/zebra# update-grub2
Generating grub configuration file ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-3.16-2-amd64
Found initrd image: /boot/initrd.img-3.16-2-amd64
Found CentOS Linux release 7.0.1406 (Core) on /dev/mapper/cl-root
done
root@debian:/home/zebra#
No need bothering grub, debian has control over it.
Quote:
Do you mean the second entry in the /etc/apt/sources.list? (to uncomment)
Yes after that update & upgrade your system.
You should also start a new thread for your centos network issue.
If original problem is solved mark as such.
root@debian:/home/zebra# apt-get install rfkill
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
rfkill
0 upgraded, 1 newly installed, 0 to remove and 9 not upgraded.
Need to get 7,568 B of archives.
After this operation, 52.2 kB of additional disk space will be used.
Get:1 http://mirrors.kernel.org/debian/ jessie/main rfkill amd64 0.5-1 [7,568 B]
Fetched 7,568 B in 0s (13.4 kB/s)
Selecting previously unselected package rfkill.
(Reading database ... 137548 files and directories currently installed.)
Preparing to unpack .../rfkill_0.5-1_amd64.deb ...
Unpacking rfkill (0.5-1) ...
Processing triggers for man-db (2.7.0.2-3) ...
root@debian:/home/zebra# rfkill list
0: sony-wifi: Wireless LAN
Soft blocked: no
Hard blocked: no
1: sony-bluetooth: Bluetooth
Soft blocked: no
Hard blocked: no
2: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
root@debian:/home/zebra#
The easiest way to mount CentOS is go to disk utility & mount both centos partitions & run update-grub
I can't mnt the CentOS partitions from Debian and I can't mnt CentOS while it is stuck in Konsole Mode/Emeregency mode. Cmd-line will only let me look at logs.
I was able to up-grub from Debian.
I only have once choice at this point; to enter rescue mode and recover CentOS from my Live CD/DVD.
Should that fail I'll have to perform a fresh installation.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.