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.
NOTE: /dev/sda is an example drive and may not be the drive you wish to do this to.
If you don't care to save anything on the drive before adding stuff.
# dcfldd if=/dev/zero of=/dev/sda bs=1M
Then verify that it took. Redundant and optional, but if it didn't take it'll save you some time in the long term.
# cmp /dev/zero /dev/sda
It should end with some error about end of disk for /dev/sda, it if ends with something else, like doesn't match and an offset, the disk may have outlived it's usable life.
If success, and using the "use whole disk" option from your installer of choice, mostly ignore the rest.
-----
# gparted /dev/sda
To create partitions, if favoring GPT. Otherwise I tend towards cfdisk for <= 2TB disks and MBR / Dos style partitioning.
Once created, I tend towards mount, then debootstrap (or arch-chroot) to install linux to said partition. With linuxdistro being an example label. I tends towards something like a distro + arch + disk/partition hinting name, like deb64d1p1. And change the /etc/hostname to match, but personal biases.
Do you see an option (below those 5 partitions) to:
Create/Modify partitions? IF so, select it. (See 1st attached screenshot here.)
On next screen, use cfdisk to **delete** *each* partition. (to ERASE ALL disks!)
Then New ... Then Write. Then Quit.
Spend at least a fraction of a hour on web-researching cfdisk. Look for 'images' (on the web)
Android seems to only need a couple GB disk (so an unused partition might work)
You will probably want to *change the default* choice of No grub! to Yes!
Best wishes. Let us know. (I think OP is using this distro)
Distribution: Cinnamon Mint 20.1 (Laptop) and 20.2 (Desktop)
Posts: 1,634
Rep:
Quote:
HELLO,
WHAT IS function of 5V and 12V in hardisk..
The 5v is used to power the the disk logic board (That's the board attached to the disk.The disk controller is usually integrated on the system motherboard though it can be an added adapter.) The 12v is used to power the disk motor and head actuator.
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,363
Rep:
Hi Riteshh - with respect, I think you need to elaborate a little more. It's difficult to figure out what your situation is, beyond your desire to install Android on some system. And I'm not 100% sure this forum is the place for questions on Android - I know it's *nix* - based, but I haven't noticed a lot of topics on it. Maybe other members can confirm.
The 5v is used to power the the disk logic board (That's the board attached to the disk.The disk controller is usually integrated on the system motherboard though it can be an added adapter.) The 12v is used to power the disk motor and head actuator.
Does that help in any way?
Play Bonny!
thanks for information what is disk lgic boards function and workking?
thanks for information what is disk logic boards function and working?
This is something built into the device itself, I mean it is part of the HDD. You do not need to do anything with it, it will just do the work for you.
Quote:
Originally Posted by RITESHH
I am unable to install
Would be nice to tell us a bit more about what's going on. Otherwise we can hardly give you any hint....
based on the picture you sent you need to select a filesystem type - but I do not know what for? In general use ext4.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.