windows/linux - Samsung Galaxy S8+ Questions & Answers

Can i use windows 10 and kali linux simultaneously.
Can it effect my data on my pc

anmol.gupta766 said:
Can i use windows 10 and kali linux simultaneously.
Can it effect my data on my pc
Click to expand...
Click to collapse
Yeah, check your UEFI boot in the bios though, use legacy boot instead.
Before installing it will ask if you want to partition the drives, seperate the windows and then install on the new partition. (This is where you risk wiping the windows data, so be careful.)
Also while separating partitions, might be an idea to set up storage you can access on both sides. I use a vm ssh server with a VHD on a seperate partition.
Finally, id find a different distro, kali is notoriously breakable. There are some much more stable options with the same pentesting/security tools available.

Related

Boot from USB

Found this under advanced boot. wouldn't it be possible to boot ubuntu this way if it was compatible with the surface?
UPDATE:If you want to boot from USB, Hold VOLUME DOWN while turning on the device.
I don't know if Ubuntu has a version compiled for ARM processors. In my opinion at this moment there is nothing out there that you can put in an USB stick and boot from it in a Surface RT.
ubuntu
It would be possible once the new version of Ubuntu is out since they are working on marking it work for phones and tablets.
You can get there by going to settings, change pc setting, general and then scroll all the way down to advanced bootup.
svenk919 said:
You can get there by going to settings, change pc setting, general and then scroll all the way down to advanced bootup.
Click to expand...
Click to collapse
if it acts the same way as Windows 8 x86/64, you can also access this stuff by holding shift and clicking the restart option from the windows power menu, as for what could be booted from there you'll likely need to get it signed properly, in addition I haven't heard of plans to make ARM Linux compatible with UEFI secure boot yet (only x86-64 Linux is being made compatible atm), so your kernel would need to support UEFI booting on ARM and will likely need to be signed with a valid key(like with x86-64 Linux kernels on newer UEFI systems).
Yea he's right totally forgot about the new secure boot
Sent from my SGH-I717 using xda app-developers app
So the USB image need to be secure boot compatible as well? Anyone tried it?
bountygiver said:
So the USB image need to be secure boot compatible as well?
Click to expand...
Click to collapse
Yes.
But lets hope that there would be a signed *nix bootloader for RT devices.
See entry in this thread about how to create a bootable USB recovery OS
http://forum.xda-developers.com/showthread.php?t=1976532
Desktop > Control Panel > System and Security > File History.
Tap "Recovery" at the bottom of the left pane, and you'll find an option to "Create a Recovery Drive."
It copies the Recovery Partition to a flash drive and makes the flash drive bootable for using in the Advanced Startup option.
Plus make sure you save your bitlocker recovery key
-- disk management shows it as BitLocker protected, but control panel, System, Security doesn't have a BitLocker management section ?
Use an admin cmd prompt and manage-bde -protectors -get c:
Hold VOLUME DOWN while turning on the device to boot from a USB device.

[tut]complete guide on installing linux on android [dual boot]

So , Hello everyone,
It will not remove or harm Android, it will just run Linux on top of android
This tutorial will guide you through installing Linux on mmx a116 with android side by side..
What is this all about?/Why put this on my device?
This projects aim is to bring a range of linux distros to your android device through a method known as 'chroot', see it has running a linux distro within a virtual machine on your phone (Although its not! its using native ARM ports and the Android kernel) . You can access this virtual machine and run it on your phone without causing any damage to your device, or having to overwrite anything. Why might you want this? well my apps are designed to make the install and set up process as easy as possible while still giving you some flexibility. Once you have the distro up and running then you can pretty much run and install any linux software you like (so long as there is a arm port or it is not architecturally dependent).
Wait this uses VNC why shouldn't I just VNC to a computer?
VNC is used to access the GUI as at the moment I have not yet implemented a native way of viewing the GUI. But the Linux distro itself is running within the phone and can be controlled via the terminal app so if your a seasoned Linux user you may never even want to use the GUI
What is Chroot?/How does this work?
"A chroot on Unix operating systems is an operation that changes the apparent root directory for the current running process and its children" - http://en.wikipedia.org/wiki/Chroot
This method of running linux distros with android has been around for some time. I have worked on my scripts to make the process more user friendly and give you far more options from the word go.
The scripts start by mounting the linux image file within the android file system and then mounts the sdcard and if you have it internal memory within the linux file system.
Chroot is then used to change the root directory to that of the mounted linux and a bash shell is then opened to allow you to control linux this is kind of like 'booting' the OS.
The likes of VNC and SSH are then set up when linux is 'booted' to allow you to connect to the GUI if you require it.
Note: This requires a lot of free space on sd cards(any)..atleast 2 GB ..
INSTRUCTIONS:
1-Go to play store and download 'Complete Linux Installer' and install it ..
2-if you have a custom or other kernel , you have to check wether it supports loop or not.So better be on Stock Kernel.
3- Now there are 2 ways to install and run distros(eg-linux,backtrack).One is easier but requires an internet connection on the phone.other is a bit difficult but can be done from PC also .
method 1 ( internet on smartphone )
Go to complete Linux Installer and select install guides and select the distro you want it will download and guide you further.(in the unzipping step , i recommend using a PC for it as its too slow on the phone.)
Method 2 ( using a PC )
Download the version and size of your preferable ubuntu from here -
http://sourceforge.net/projects/linuxonandroid/files/Ubuntu/
After that, download androidVNC and terminal emulator from play store
now extract ubuntu.zip and place it in a folder called ubuntu on root of your SD card.Now you are ready to boot too ubuntu. select the launch menu from complete linux installer.
you will be redirected to terminal emulator . press n if you are asked to check boot.img from md5 as it gets stuck there. set screen size to 1280x720 after few seconds you will see a message [email protected] . this means you are succesful.
go to android vnc type in port option 5900 and password and username as ubuntu an color settings as 24 bit..
congratulations! you have booted to Ubuntu!:highfive:
Hmmmm.
That's not dual boot.:sly:
It runs Linux in VM.
Thanks!
-Dracula
And i don't see why anyone would want to do this, it's just killing your phone by overloading it with a Desktop OS in a VM!
Also perhaps providing credit to the person that did all the hard work might be a good idea .......
Oh and its not a VM guys, it uses chroot which means native ARM linux running with the Android kernel, within Android.

Making bootable usb disk from an iso on linux

More and more as time goes by I am having a worse time creating bootable USB disks from various iso's on linux. I think this is relevant to xda because there are those of us who don't have windows machines readily available. There are tons of tutorials out there for creating bootable usb windows installers from linux and bootable usb linux installers from linux.
But specifically the areas where I have lately had no choice to wait until I could find a windows machine that I could use rufus on are the ones I think would be beneficial.
Having to resort to using rufus on windows is embarrassing being a linux guy.
Specifically these are the cases where I can no longer find the magic to create a bootable USB from the linux side:
Phoenix OS iso -> USB installer
Remix OS iso -> USB installer
Vmware ESXi iso -> USB installer
Again, creating windows or linux installers works, but those above have just gotten infuriating. Anyone able to help?
Thanks

Can't boot android x86 7.1, grub not showing up

I tried to install android 7.1 86x firstly for BIOS(legacy) mode because i like to keep the second OS hidden then I can boot directly to Windows 8.1 on EFI, then I selected to install grub however my stock bootloader was still starting and nothing of grub and therefore I cannot boot into android. Then I decided to install for EFI because I was a whole day trying to work that out and couldn't find any answer on Internet, however seems like the stock bootloader starts instead of grub after I restart the pc.
Extra information:
My pc has an E1-2000 AMD processor, it is 64 bits (and yes, i downloaded the right iso file).
Windows boots from EFI, and I had Kali Linux previously installed with grub and worked fine.After I removed kali I also removed grub with "bootrec /fixmbr" and "/fixboot" on command prompt.
Windows is working fine.
Try downloading the easyUEFI tool (check google) and on windows set a partition for Grub + setting it as the default over MBR
LilAnt530 said:
Try downloading the easyUEFI tool (check google) and on windows set a partition for Grub + setting it as the default over MBR
Click to expand...
Click to collapse
What if I don't have windows there anymore? Is there a similar solution, inside a command line maybe?
I think I'm in a similar situation where I can install and run Androidx86 from my USB, but if I restart the laptop it won't find any boot option.

Dualboot Android/Linux for Yoga Tab 2 830F

ALARM: the device could be bricked if something will go wrong.
Actually should work for 10' and 13' as well
Introduction
The Yoga Tab 2 devices are built on the Intel Baytrail SOC, which makes them not very different from cheap Intel Atom laptops and idea to make them run something more serious than Android is too tempting to resist. Even more interesting, the Windows version of the devices do exist, so running of the full desktop OS is definitely possible.
Beginning
The easiest method to boot Linux on the Yoga is to unlock bootloader and replace standard EFI loader with GRUB. To do it, use the set of files, available here.. Unzip the file, put the tablet into fastboot mode, connect to PC and use script hack.cmd to flash the ESP with GRUB. Now, the system will be booting the GRUB, which will normally boot Android (if no buttons is pressed). The volume buttons are configured as hotkeys in grub.cfg, so it is possible to load arbitrary system, supported by GRUB.
To modify the grub.cfg from Android, mount the ESP partition:
Code:
su
mkdir /esp
busybox mount /dev/block/by-name/ESP /esp
vi /esp/boot/grub.cfg
Kernel
The device is able to boot mainline Linux kernel in the described way, but due to erroneous ACPI tables majority of hardware won't work. I did my best to repair the tables to make system usable. Still, not everything is working, mainly screen brightness control and sound. The kernel development info is available at https://github.com/Trel725/yoga2linux
System
I've chosen Manjaro Linux as a distro to work with because of my own taste. It shouldn't be a problem to run any other distro with modified kernel, but I provide rootfs only for Manjaro.
How to get it working
1. Flash the modified ESP as desribed above.
2. Download the archive, create folder /factory/manjaro (folder /factory should be already present in the tablet) and unzip archive to that folder. It is necessary because GRUB can't access the external SD, so kernel need to be loaded from internal memory and then find SD card. /factory is just a partition, used for storing tablet configuration, and as it is usually empty for 90-99 % it is convenient to use it to store the kernel and initramfs.
3. Find a good SD card, format it to the ext3 or ext4 FS and unzip RootFS to the SD card. Insert card to the tablet.
4. Reboot and press Volume+ to boot Linux.
Some ideas
1. After tablet has booted Linux and USB is initialized, it keep it's state on reboot. This means that following trick is possible:
boot linux -> reboot -> get to GRUB (by pressing Volume-) -> USB keyboard should work as it was initialized -> go to the GRUB command line (press c) -> type exit, press enter -> should get to BIOS with working keyboard -> if USB flash disk was inserted before entering the BIOS (usb hub is needed as device has only one port) it is possible to boot from it.
2. TODO
Hello, do you have any Linux tutorials installed here?
Wordowg's post failed
Thanks for this, @Trel725.
No problem with 5.2 kernel? isn't it too new for such an old device?
Also -- maybe some stuff from here is relevant? e.g., WM5102.
NaEpoch said:
Hello, do you have any Linux tutorials installed here?
Wordowg's post failed
Click to expand...
Click to collapse
Which tutorials do you mean? Linux usage in general?
raenye said:
Thanks for this, @Trel725.
No problem with 5.2 kernel? isn't it too new for such an old device?
Click to expand...
Click to collapse
Linux is very good in backward compatibility, even support for 80386 (released in 1985) was discontinued only in kernel 3.8. Moreover, I am particularly interested in mainline kernel without need to support ancient code (like for majority of android devices).
raenye said:
Also -- maybe some stuff from here is relevant? e.g., WM5102.
Click to expand...
Click to collapse
Thank you for the suggestion. I didn't try the patch for WM5102 from github, hopefully it will work for mainline kernel. I will try to find some time for it in the future.
sorry,my bad
i mean install linux for yoga tablet2 ' tutorials.
The tutorials in the forums all failed.
If you are free, can you teach me how to install it?
Thanks very much.
Unfortunately I don't have time for complete guidance, but if you have any questions I will readily answer them. The more details you provide the easier to help you.
alright, Thank you all the same.
But if you have time, please help.
My E-mail is [email protected]
Just a simple tutorial.
thank you
I can get Manjaro to boot but it can't load LightDM. I'm on 1050L.
I cant get this to work... All i get is a shell command line. no dual boot. Doesnt default into Android if nothing is imputed.
I tried connecting a keyboard. And cant type anything in.
I feel some steps have been skipped.
Tried this and now can't do anything but sit in empty shell. Can't type, volume buttons do nothing

Categories

Resources