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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
|
02-12-2017, 03:30 AM
|
#16
|
Senior Member
Registered: Feb 2003
Distribution: debian
Posts: 4,137
|
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.
# mkfs.ext4 -L linuxdistro -U 20170212-0300-1111-1111-111111111111 /dev/sda1
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.
|
|
|
02-12-2017, 04:13 AM
|
#17
|
Member
Registered: Jan 2017
Posts: 44
Original Poster
Rep: 
|
hello,
I am not getting how to install it?
it is showing the partition
how to install it?/
|
|
|
02-12-2017, 04:44 AM
|
#18
|
LQ Guru
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
|
RITESHH, I think that you need to take this a step at a time or no-one will be able to understand your problem and help you.
Can we start at the beginning:
What computer do you have and which operating system is currently installed on it?
|
|
|
02-12-2017, 04:06 PM
|
#19
|
Member
Registered: Jun 2016
Distribution: any&all, in VBox; Ol'UnixCLI; NO GUI resources
Posts: 999
|
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)
Last edited by Jjanel; 02-14-2017 at 11:07 PM.
|
|
1 members found this post helpful.
|
02-12-2017, 05:01 PM
|
#20
|
Senior Member
Registered: Aug 2010
Location: Near Edinburgh, Scotland
Distribution: Cinnamon Mint 20.1 (Laptop) and 20.2 (Desktop)
Posts: 1,710
|
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.
Does that help in any way?
Play Bonny!

|
|
|
02-13-2017, 02:53 PM
|
#21
|
Senior Member
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364
|
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.
|
|
|
02-13-2017, 11:15 PM
|
#22
|
Member
Registered: Jan 2017
Posts: 44
Original Poster
Rep: 
|
Quote:
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?
|
|
|
02-14-2017, 12:01 AM
|
#23
|
Member
Registered: Jan 2017
Posts: 44
Original Poster
Rep: 
|
Hello,
I am unable to install
|
|
|
02-14-2017, 01:49 AM
|
#24
|
LQ Addict
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 24,345
|
Quote:
Originally Posted by RITESHH
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.
|
|
|
02-14-2017, 01:55 AM
|
#25
|
Member
Registered: Jan 2017
Posts: 44
Original Poster
Rep: 
|
what is ext4 in harddisk?
what is block diagram of logic board
|
|
|
02-14-2017, 02:11 AM
|
#26
|
Member
Registered: Jan 2017
Posts: 44
Original Poster
Rep: 
|
HOW win32 disk imager work??
|
|
|
02-14-2017, 02:29 AM
|
#27
|
LQ Addict
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 24,345
|
this is about ext4: https://en.wikipedia.org/wiki/Ext4
this is about win32 disk imager: https://sourceforge.net/projects/win32diskimager/, in short:
This utility is used to write img files to SD and USB memory devices. Simply run the utility, point it at your img, and then select the removable device to write to.
|
|
|
02-14-2017, 02:50 AM
|
#28
|
Member
Registered: Jan 2017
Posts: 44
Original Poster
Rep: 
|
ok, i have formatted my drive to ext4 and img to usb
but it is not booting it blink the cursor.
|
|
|
02-14-2017, 03:38 AM
|
#29
|
LQ Addict
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 24,345
|
what image?
|
|
|
02-14-2017, 03:50 AM
|
#30
|
Member
Registered: Jan 2017
Posts: 44
Original Poster
Rep: 
|
here is the screen
what to do next
1007kib free space
1024 mib linux filesystem
73.5gib linux file system
cgdisk 1.0.0
Disk Drive /dev/sda
size 156301488 74.5Gib
|
|
|
All times are GMT -5. The time now is 09:24 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|