LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 09-09-2018, 09:50 AM   #16
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,840

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308

/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/
 
2 members found this post helpful.
Old 09-09-2018, 12:31 PM   #17
Ultracard
LQ Newbie
 
Registered: Sep 2018
Posts: 16

Original Poster
Rep: Reputation: Disabled
Kali Linux Boot error

@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.
 
Old 09-09-2018, 02:20 PM   #18
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by Ultracard View Post
@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.
 
2 members found this post helpful.
Old 09-10-2018, 07:05 AM   #19
Ultracard
LQ Newbie
 
Registered: Sep 2018
Posts: 16

Original Poster
Rep: Reputation: Disabled
Kali Linux Boot error

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?
 
Old 09-10-2018, 07:09 AM   #20
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,840

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
this problem is not related to kali, but the process how the devices detected. And /dev/sdXX is more or less unreliable - as I mentioned before.
 
1 members found this post helpful.
Old 09-10-2018, 07:40 AM   #21
Ultracard
LQ Newbie
 
Registered: Sep 2018
Posts: 16

Original Poster
Rep: Reputation: Disabled
Kali Linux Boot error

When I type /etc/fstab inside of kali it says that I don't have authorization even though I'm root
 
Old 09-10-2018, 07:46 AM   #22
Ultracard
LQ Newbie
 
Registered: Sep 2018
Posts: 16

Original Poster
Rep: Reputation: Disabled
Kali Linux Boot error

Update: I just had to type update-grub and now my problem is fixed thank you all, I am so happy that this community is so active and helpful☺️.
 
Old 09-10-2018, 10:56 AM   #23
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,502

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
Quote:
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Kali Linux (32-bit software virtualization) Error; Kernel Panic During Install or Live Boot Through VirtualBox daver12345 Linux - Virtualization and Cloud 15 05-14-2019 11:54 PM
Kali Linux (32-bit software virtualization) Error; Kernel Panic During Install or Live Boot Through VirtualBox daver12345 Linux - Virtualization and Cloud 1 01-08-2018 09:50 AM
Error came on 1st boot of Kali Linux on VirtualBox. salman.ali.geek Linux - Virtualization and Cloud 1 07-02-2013 04:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration