Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
[UPDATED]I'm triyng to dual boot Kali for experimenting and Debian for daily use on a brand new 250 GB Samsung SSD 850 pro. I also have a Windows 10 OS for gaming but it's on anohter SSD (identical to the other: Samsung 850 pro 250 GB). I'm using advanced graphical install but I have a major problem: after installing one of the two above, the other won't start at all giving me a wall of "Buffer I/O error - logical block 0 - async page read".[EDIT]-Last statement isn't true: system starts after many minutes and after the errors.- I install Kali, debian becomes unusable. I reistall Debian, Kali becomes unusable. And so on. Windows 10 is always seen by Grub, I never touched it and still work ok so far. SSD is partioned in 4 spaces: 200 MB boot, 5.9 GB Swap, 125 GB etx4 for Debian, 125 GB ext4 for Kali.
I know I'm doing something wrong but I dunno what.
Were it me, I would run Debian with Windows 10 dual boot. I would only run KALI as a live-cd or virtual machine under Debian or Windows. KALI has ALWAYS caused boot issues in multiboot configurations for me. Even when I can solve them, I do not trust it and will not recommend it.
Maybe you are right. But then, why I'm experiencing the same issue on Kali when reinstalling Debian? I mean, if it's a problem with Kali and dual booting, when I reistall Debian with its Grub all should work ok, am I wrong?
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524
Rep:
When you install the first Linux, use the manual install, install the bootloader to the MBR. The second linux don't install the bootloader. Then, boot into the first Linux and reinstall the bootloader. That should give you both distros on the same drive.
A significant piece of information which you have not stated is whether you are using UEFI for all of the installs. A default pre-installed windows would be UEFI so you need both Debian and Kali UEFI. Personally, if you are planning to use Kali to learn computer forensics, using it from the usb is probably the best way tostart. You can even add persistence as explained at their site below.
If you are using EFI, on which drive is the EFI partition and what does it contain? Run parted -l as root from either Debian or Kali and post the output here or mount the EFI partition and take a look. You haven't posted enough information for anyone to give you any specific help so posting at least this info would be a start.
Actually what I wrote on the main post isn't true. After installing Debian (or Kali), Kali (or Debian) starts.
Starts after all those errors below and some minutes:
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524
Rep:
Thanks for the photos. Try blowing some air into the CD/DVD drive, and wipe off the optical disk itself. /dev/sr0 is the CD/DVD drive. On boot it tries to read it, but it's having trouble. Otherwise, take the optical disk out of the drive.
Yes. As you can see from the partitioner pic above, I only have a single SWAP partition.
Do you really need swap? Any box above 3GiB does not need SWAP in my point of view.
Swap was needed on a pentium 120 with 128MB of ram in my experience.
When I used swap, I used it for any linux os on the box. When you do not use tuxonice, it does not really matter. look out for the reinitialise swap with random key feature. so swap gets overwritten during initialisation.
Did you apply root_delay in your grub? it seems you are using usb drives. some external drives need quite some time to get ready. test it with 30 seconds rootdelay and check if the errors are gone
Do you really need swap? Any box above 3GiB does not need SWAP in my point of view.
Swap was needed on a pentium 120 with 128MB of ram in my experience.
When I used swap, I used it for any linux os on the box. When you do not use tuxonice, it does not really matter. look out for the reinitialise swap with random key feature. so swap gets overwritten during initialisation.
Did you apply root_delay in your grub? it seems you are using usb drives. some external drives need quite some time to get ready. test it with 30 seconds rootdelay and check if the errors are gone
It really depends upon your usage and priority. If system stability under load has no value to you, you can work without swap. If you need production uptime, even under unexpected or massive load, then swap is needed.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.