You are not logged in.
I have installed Bunsenlabs after installing Win 7, however I do not see Win 7 in the grub.
Note: All commands are run as root.
update-grubresults in the following,
Generating grub configuration file ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-3.16.0-4-amd64
Found initrd image: /boot/initrd.img-3.16.0-4-amd64
doneI tried using
os-proberto find Windows, however it doesn't seem to be installed.
-bash: os-prober: command not foundSo I tried installing it,
aptitude install os-proberbut it results in the following,
No candidate version found for os-prober
No candidate version found for os-prober
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 16 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.Any help is appreciated.
SOLUTION==============================
Make sure that the repository lists are correct with main, contrib and non-free components., if not edit it. Then use the following commands.
apt update
aptitude install os-proberLast edited by linux_user (2016-12-25 05:45:30)
"Blind faith to authority is the greatest enemy of truth."
Offline
Looks like you are missing the main jessie repositories.
What is the output of:
apt-cache policyAlso, is Windows installed in UEFI mode?
If you don't know then please post the output of:
sudo parted -lOffline
Here's the output for apt-cache policy
Package files:
100 /var/lib/dpkg/status
release a=now
500 http://httpredir.debian.org/debian/ jessie-backports/non-free Translation-en
500 http://httpredir.debian.org/debian/ jessie-backports/main Translation-en
500 http://httpredir.debian.org/debian/ jessie-backports/contrib Translation-en
100 http://httpredir.debian.org/debian/ jessie-backports/non-free amd64 Packages
release o=Debian Backports,a=jessie-backports,n=jessie-backports,l=Debian Backports,c=non-free
origin httpredir.debian.org
100 http://httpredir.debian.org/debian/ jessie-backports/contrib amd64 Packages
release o=Debian Backports,a=jessie-backports,n=jessie-backports,l=Debian Backports,c=contrib
origin httpredir.debian.org
100 http://httpredir.debian.org/debian/ jessie-backports/main amd64 Packages
release o=Debian Backports,a=jessie-backports,n=jessie-backports,l=Debian Backports,c=main
origin httpredir.debian.org
500 http://pkg.bunsenlabs.org/debian/ bunsen-hydrogen/main amd64 Packages
release o=bunsenlabs,n=bunsen-hydrogen,l=bunsenlabs,c=main
origin pkg.bunsenlabs.org
100 http://pkg.bunsenlabs.org/debian/ jessie-backports/main amd64 Packages
release o=bunsenlabs,n=jessie-backports,l=bunsenlabs,c=main
origin pkg.bunsenlabs.org
500 http://ftp.cn.debian.org/debian/ jessie/main Translation-en
500 http://ftp.cn.debian.org/debian/ jessie/main amd64 Packages
release v=8.6,o=Debian,a=stable,n=jessie,l=Debian,c=main
origin ftp.cn.debian.orgThe output for parted -l
Model: ATA WDC WD5000LPVT-1 (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 525MB 524MB primary ntfs
2 525MB 53.7GB 53.2GB primary ntfs
3 53.7GB 64.4GB 10.7GB primary ext4 boot
4 64.4GB 500GB 436GB extended
5 64.4GB 68.7GB 4294MB logical linux-swap(v1)
6 68.7GB 500GB 431GB logical ntfs
Model: TOSHIBA External USB 3.0 (scsi)
Disk /dev/sdb: 2000GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 2000GB 2000GB primary ntfs bootI reckon that Windows in installed in BIOS mode, but how do you find it out from the above output?
Follow up on my original question:
I installed os-prober by including its repositories in the sourced.list file and then,
apt update
aptitude install os-proberI then, probed other OSes, updated my grub and now I am able to boot to Windows. However any light on the above outputs will be appreciated.
"Blind faith to authority is the greatest enemy of truth."
Offline
Here's the output for apt-cache policy
That is not the full output, please don't crop stuff like that.
It seems to show the jessie repositories -- the main component at least, I presume that contrib & non-free were in the section you cropped out?
At any rate, os-prober is in main and so should have been installable...![]()
I installed os-prober by including its repositories in the sourced.list file
Can you please elaborate on this?
What is the full output of `apt-cache policy` now?
Offline
I reckon that Windows in installed in BIOS mode, but how do you find it out from the above output?
If there is an EFI system partition present on the drive then Windows will be installed in UEFI mode.
Your drive does not have such a partition and so Windows must be installed in non-UEFI mode.
Offline
Sorry about the crop, that was unintentional, probably a mistake while copying..
Here's the output, This is the output after I installed os-prober and fixed grub. Sorry, I did that before you had replied to my post, hence.
root@linux:~# apt-cache policy
Package files:
100 /var/lib/dpkg/status
release a=now
500 http://httpredir.debian.org/debian/ jessie-backports/non-free Translation-en
500 http://httpredir.debian.org/debian/ jessie-backports/main Translation-en
500 http://httpredir.debian.org/debian/ jessie-backports/contrib Translation-en
100 http://httpredir.debian.org/debian/ jessie-backports/non-free amd64 Packages
release o=Debian Backports,a=jessie-backports,n=jessie-backports,l=Debian Backports,c=non-free
origin httpredir.debian.org
100 http://httpredir.debian.org/debian/ jessie-backports/contrib amd64 Packages
release o=Debian Backports,a=jessie-backports,n=jessie-backports,l=Debian Backports,c=contrib
origin httpredir.debian.org
100 http://httpredir.debian.org/debian/ jessie-backports/main amd64 Packages
release o=Debian Backports,a=jessie-backports,n=jessie-backports,l=Debian Backports,c=main
origin httpredir.debian.org
500 http://pkg.bunsenlabs.org/debian/ bunsen-hydrogen/main amd64 Packages
release o=bunsenlabs,n=bunsen-hydrogen,l=bunsenlabs,c=main
origin pkg.bunsenlabs.org
100 http://pkg.bunsenlabs.org/debian/ jessie-backports/main amd64 Packages
release o=bunsenlabs,n=jessie-backports,l=bunsenlabs,c=main
origin pkg.bunsenlabs.org
500 http://ftp.cn.debian.org/debian/ jessie/main Translation-en
500 http://ftp.cn.debian.org/debian/ jessie/main amd64 Packages
release v=8.6,o=Debian,a=stable,n=jessie,l=Debian,c=main
origin ftp.cn.debian.org
Pinned packages:
root@linux:~# I went to official os-prober download page and as described there, added the line
deb http://ftp.cn.debian.org/debian jessie mainto the sources.list file (sorry typo earlier). Then,
apt update
aptitude install os-proberLast edited by linux_user (2016-11-05 12:48:02)
"Blind faith to authority is the greatest enemy of truth."
Offline
Sorry, I did that before you had replied to my post, hence.
Ah, I see, thanks for the explanation.
So it seems that you did not have the main Debian jessie repositories -- did you select a mirror during the installation process?
You may also wish to add the contrib & non-free components to the added Debian jessie source line, as per https://wiki.debian.org/SourcesList#Exa … urces.list
More critically, you seem to be missing the Debian Security repositories -- these should be added ASAP.
Use this command to edit your sources:
sudo apt edit-sourcesBe sure to update the package database afterwards:
sudo apt updateOffline
So it seems that you did not have the main Debian jessie repositories -- did you select a mirror during the installation process?
No, I didn't select any mirror during the installation. I couldn't connect to the internet at that point. That explains why the main repositories weren't installed.
You may also wish to add the contrib & non-free components to the added Debian jessie source line, as per https://wiki.debian.org/SourcesList#Exa … urces.list
After the installation I ran bl-welcome to update all these, however I faced some error while adding contrib and non-free components. Therefore I continued typing n at the prompt.
More critically, you seem to be missing the Debian Security repositories -- these should be added ASAP.
Use this command to edit your sources:
sudo apt edit-sourcesBe sure to update the package database afterwards:
sudo apt update
This is how my current sources.list look when I edit it using nano,
#
# deb cdrom:[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Bin$
# deb cdrom:[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Bin$
# Line commented out by installer because it failed to verify:
#deb http://security.debian.org/ jessie/updates main contrib non-free
# Line commented out by installer because it failed to verify:
deb-src http://security.debian.org/ jessie/updates main contrib non-free
deb http://ftp.cn.debian.org/debian jessie main Will uncommenting some lines as the following do?
#
# deb cdrom:[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Bin$
# deb cdrom:[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Bin$
deb http://security.debian.org/ jessie/updates main contrib non-free
deb-src http://security.debian.org/ jessie/updates main contrib non-free
deb http://ftp.cn.debian.org/debian jessie main Last edited by linux_user (2016-11-05 13:39:18)
"Blind faith to authority is the greatest enemy of truth."
Offline
Will uncommenting some lines as the following do?
Yes but you don't need the "deb-src" line unless you want to patch the Security fixes (unlikely).
As I mentioned (and perhaps this may be relevant to your other thread), contrib & non-free may also be needed for a fully functioning desktop.
You also seem to need "jessie-updates", please refer to the example sources.list to which I linked in my earlier post.
Offline
As far as I understand, jessie main, jessie-updates and jessie/updates are three different repositories.
This is how my sources.list look now.
deb http://httpredir.debian.org/debian jessie main contrib non-free
deb-src http://httpredir.debian.org/debian jessie main contrib non-free
deb http://httpredir.debian.org/debian jessie-updates main contrib non-free
deb-src http://httpredir.debian.org/debian jessie-updates main contrib non-free
deb http://security.debian.org/ jessie/updates main contrib non-free
deb-src http://security.debian.org/ jessie/updates main contrib non-freeAm I missing any other security repositories?
"Blind faith to authority is the greatest enemy of truth."
Offline
Am I missing any other security repositories?
No, that all looks fine now ![]()
Remember to upgrade your system:
sudo apt update && sudo apt upgradeCheck the final output for any "Packages left unupgraded" (or so) and use `sudo apt-get dist-upgrade` if there are any, firefox-esr needs this special treatment (and maybe some other packages as well).
Offline
Yes, I just finished updating. dpkg was interrupted. It asked me to correct the problem manually.
dpkg --configure -aWill be upgrading as soon as it finishes.
I will check for packages left unupgraded, but what does dist-upgrade do? Alright.. found it here....http://askubuntu.com/questions/81585/what-is-dist-upgrade-and-why-does-it-upgrade-more-than-upgrade
Thanks a lot for you help... You have been really really helpfull.. Getting deeper into linux... hence so many question! ![]()
Last edited by linux_user (2016-11-05 14:05:01)
"Blind faith to authority is the greatest enemy of truth."
Offline
How do I mark/tag this as solved?
"Blind faith to authority is the greatest enemy of truth."
Offline
Edit your original post and add [SOLVED] at the begining of the title.
Last edited by PackRat (2016-11-06 21:23:02)
You must unlearn what you have learned.
-- yoda
Offline