LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 04-18-2017, 08:18 AM   #31
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,574
Blog Entries: 19

Rep: Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453

Quote:
Originally Posted by yancek View Post
Nothing. From the information you posted, your windows was UEFI which does not use the MBR.
Actually on gpt disks (which is what you will have in a uefi machine), the first sector is filled with a dummy mbr, just to reassure programs that expect to find one. There's no boot code until you install it, but there is a dummy partition table with one whole-disk partition on it.
 
1 members found this post helpful.
Old 04-19-2017, 08:12 AM   #32
Safeway44
Member
 
Registered: Apr 2017
Location: Land of the Lost
Distribution: Kali
Posts: 32

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by yancek View Post
If you are using the Kali DVD to run these commands, stop using sudo.
Does that apply if I access root command thruogh Grub and not through the Live CD?

If I'm in root and I did type sudo does it effect what I'm coding?

How do I reboot or save and exit when I want to wrap things up from within command line? using live cd or through accessing command line through GRUB? I tried:
reboot, shutdown and number of other things.

Last edited by Safeway44; 04-19-2017 at 08:41 AM.
 
Old 04-19-2017, 08:50 AM   #33
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 Safeway44 View Post
Does that apply if I access root command thruogh Grub and not through the Live CD?

If I'm in root and I did type sudo does it effect what I'm coding?

Wether or not #sudo command does something different or not I do not know it is just
over kill - root user does not need sudo command.

Quote:
Originally Posted by Safeway44 View Post
How do I reboot or save and exit when I want to wrap things up from within command line? using live cd or through accessing command line through GRUB? I tried:
reboot, shutdown and number of other things.
It depends on how or what you are using to do whatever it is you need to do first .before I could tell you how to save whatever it was you needed to do first.

nano has its own save commands.
VI has its own save commands
cat has its own save commands
etc...

depending on what level you went to and how you got there. If everything is saved properly 'exit' will boot you out of it, three finger salute may work, hard shut down defiantly works. just got a keep in mind posable consequences from that one.

anyone else?

Last edited by BW-userx; 04-19-2017 at 08:52 AM.
 
Old 04-24-2017, 06:26 AM   #34
Safeway44
Member
 
Registered: Apr 2017
Location: Land of the Lost
Distribution: Kali
Posts: 32

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hazel View Post
sudo mount /dev/sda1 /mnt # Mount the root filesystem in /mnt
sda1 is root?
Quote:
Originally Posted by hazel View Post
sudo mkdir /mnt/boot/efi # Create a directory to mount the ESP in
I have a separate boot partition so /boot is referring to that?
Quote:
Originally Posted by hazel View Post
sudo mount /dev/sda3 /mnt/boot/efi # Mount the ESP
sda3 is ESP partition?
 
Old 04-24-2017, 07:28 AM   #35
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,510

Rep: Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491
Quote:
If I'm in root and I did type sudo does it effect what I'm coding?
I think you need to get back to some basics and probably read a little about Kali before you continue. You do know that Kali is designed specifically and exclusively to be used for penetration testing and computer forensics. The Kali developers created the system so that when you log in you ARE root. You do not need to use 'sudo' to switch to the root user becasue you ARE root when you log in. Using sudo at the Grub prompt won't do anything different.

Quote:
How do I reboot or save and exit when I want to wrap things up from within command line? using live cd or through accessing command line through GRUB?
Are you still trying to find file for Kali on the EFI partition? The commands suggested above should do that. What are you wanting to save? You are pretty limited in the commands you can run from Grub since it is just a bootloader. If you are using the Kali Live CD that's different and if you want to see if there is an EFI partition and what it's contents are, run either fdisk -l or gdisk -l (Lower Case Letter L in both command) and look at the output or post it here. You can run the mount commands suggested by hazel to see what is in those directories.

Since you indicate you can boot windows UEFI and you are having all this difficulty getting Kali to work, you might be better off installing Kali on a flash drive. Their site has very detailed instructions on doing that and you could then format the old Kali partitions to be used for data.
 
  


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
Windows 8 not loading from GRUB KingDookies Linux - Newbie 44 12-20-2012 03:33 PM
Loading Windows with GRUB scouture Linux - Software 3 03-09-2005 06:07 PM
SuSE 9.1 and Windows Xp refuse to live in harmony: error loading windows through GRUB sanctumtacete Linux - Newbie 3 10-19-2004 07:47 AM
GRUB loading windows teamstatic84 Linux - General 5 12-29-2003 08:46 PM

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

All times are GMT -5. The time now is 10:33 PM.

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