LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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
Senior Member
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 3,419
Blog Entries: 9

Rep: Reputation: 1899Reputation: 1899Reputation: 1899Reputation: 1899Reputation: 1899Reputation: 1899Reputation: 1899Reputation: 1899Reputation: 1899Reputation: 1899Reputation: 1899

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: FreeBSD/Slackware-14.2+/ArcoLinux
Posts: 9,175

Rep: Reputation: 1952Reputation: 1952Reputation: 1952Reputation: 1952Reputation: 1952Reputation: 1952Reputation: 1952Reputation: 1952Reputation: 1952Reputation: 1952Reputation: 1952
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: PCLinux, Slackware
Posts: 8,608

Rep: Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 08:00 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration