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.
/dev/sdb1 was the name of the root partition when you installed it first, but it got another name when you tried to boot from another laptop. This is normal. The usual solution would be to specify partitions by label or uuid, because that will hardly change.
But I think first you need to read this: https://www.linuxquestions.org/quest...ad-4175614092/
@pan64, thanks for your answer, I know that kali is not for beginners, and I really understand your point, but when I first installed kali I didn't know and now than I already have it installed I still would like to use it since it is basically Debian, and has a lot of support and software. I Also know my way around the system.
@BWuserx
I guess the problem is really that it doesnīt recognize that it is plugged into antoher laptop, because in the grub boot menu it also shows me windows 7 to boot. Even though i donīt have windows 7, but it was installed on the previous laptop. i tried typing "update-grub" in the grub shell, but nothing happens. Do you know a Command that can update grub?
If necessary i can hook up the hard drive to the first laptop, where Kali works so that i can use the terminal.
Alternatively i also have a kali linux live stick if that is needed.
Thank You!
lets see here,
1.install Linux on external HDD, install grub onto that same hdd mbr, ueif .. either way modify if necessary the fstab to use UUID for hdd update-grub, no matter what other OS's grub picks up because this is what grub does, looks for all OS'es attached and adds them to the listing, the Linux installed on the hdd too will be added to the first on the list.
2. when booting same said hdd, use the BIOS of the SYStem booting to select that hdd and its grub boot manager will be used to boot same said Linux installed on that hdd, all other OSes it has in its listing are arbitrary due to the means it is being used.
Thank you very much i think from here I will be able to solve the problem by myself.
However I have one last question.
In case somehow changing the fstab to UUID doesn't work. Will my problem be fixed if I reinstall windows in legacy mode and then reinstall Kali to the HDD and add the grub boot loader to my system? Also if I decide to choose another distro, will it even require me to reinstall windows in legacy or does only kali have this problem?
When I type /etc/fstab inside of kali it says that I don't have authorization even though I'm root
That's expected behavior. fstab is a text file so you need to put the text editor name before the command so that if you are root/sudo and you are using gedit as a text editor you would type: sudo gedit /etc/fstab.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.