LinuxQuestions.org
Review your favorite Linux distribution.
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


Closed Thread
  Search this Thread
Old 02-12-2017, 03:30 AM   #16
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873

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.
 
Old 02-12-2017, 04:13 AM   #17
RITESHH
Member
 
Registered: Jan 2017
Posts: 44

Original Poster
Rep: Reputation: Disabled
hello,
I am not getting how to install it?
it is showing the partition
how to install it?/
 
Old 02-12-2017, 04:44 AM   #18
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924
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?
 
Old 02-12-2017, 04:06 PM   #19
Jjanel
Member
 
Registered: Jun 2016
Distribution: any&all, in VBox; Ol'UnixCLI; NO GUI resources
Posts: 999
Blog Entries: 12

Rep: Reputation: 363Reputation: 363Reputation: 363Reputation: 363
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)
Attached Thumbnails
Click image for larger version

Name:	Android6CreateModidfyPatitions.png
Views:	11
Size:	4.6 KB
ID:	24239  

Last edited by Jjanel; 02-14-2017 at 11:07 PM.
 
1 members found this post helpful.
Old 02-12-2017, 05:01 PM   #20
Soadyheid
Senior Member
 
Registered: Aug 2010
Location: Near Edinburgh, Scotland
Distribution: Cinnamon Mint 20.1 (Laptop) and 20.2 (Desktop)
Posts: 1,634

Rep: Reputation: 472Reputation: 472Reputation: 472Reputation: 472Reputation: 472
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!

 
Old 02-13-2017, 02:53 PM   #21
Rickkkk
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,363

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
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.
 
Old 02-13-2017, 11:15 PM   #22
RITESHH
Member
 
Registered: Jan 2017
Posts: 44

Original Poster
Rep: Reputation: Disabled
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?
 
Old 02-14-2017, 12:01 AM   #23
RITESHH
Member
 
Registered: Jan 2017
Posts: 44

Original Poster
Rep: Reputation: Disabled
Hello,
I am unable to install
Attached Thumbnails
Click image for larger version

Name:	20170214_110210.jpg
Views:	15
Size:	256.5 KB
ID:	24247   Click image for larger version

Name:	20170214_110130.jpg
Views:	14
Size:	265.5 KB
ID:	24248  
 
Old 02-14-2017, 01:49 AM   #24
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 20,215

Rep: Reputation: 6834Reputation: 6834Reputation: 6834Reputation: 6834Reputation: 6834Reputation: 6834Reputation: 6834Reputation: 6834Reputation: 6834Reputation: 6834Reputation: 6834
Quote:
Originally Posted by RITESHH View Post
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 View Post
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.
 
Old 02-14-2017, 01:55 AM   #25
RITESHH
Member
 
Registered: Jan 2017
Posts: 44

Original Poster
Rep: Reputation: Disabled
what is ext4 in harddisk?
what is block diagram of logic board
 
Old 02-14-2017, 02:11 AM   #26
RITESHH
Member
 
Registered: Jan 2017
Posts: 44

Original Poster
Rep: Reputation: Disabled
HOW win32 disk imager work??
 
Old 02-14-2017, 02:29 AM   #27
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 20,215

Rep: Reputation: 6834Reputation: 6834Reputation: 6834Reputation: 6834Reputation: 6834Reputation: 6834Reputation: 6834Reputation: 6834Reputation: 6834Reputation: 6834Reputation: 6834
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.
 
Old 02-14-2017, 02:50 AM   #28
RITESHH
Member
 
Registered: Jan 2017
Posts: 44

Original Poster
Rep: Reputation: Disabled
ok, i have formatted my drive to ext4 and img to usb
but it is not booting it blink the cursor.
 
Old 02-14-2017, 03:38 AM   #29
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 20,215

Rep: Reputation: 6834Reputation: 6834Reputation: 6834Reputation: 6834Reputation: 6834Reputation: 6834Reputation: 6834Reputation: 6834Reputation: 6834Reputation: 6834Reputation: 6834
what image?
 
Old 02-14-2017, 03:50 AM   #30
RITESHH
Member
 
Registered: Jan 2017
Posts: 44

Original Poster
Rep: Reputation: Disabled
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
 
  


Closed Thread


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
partition and format hardisk draggin Debian 1 02-24-2005 05:11 PM
format hardisk on slackware jordy22 Linux - Newbie 4 01-22-2005 08:52 PM
"which files to copy to hardisk for Hardisk installation " Rehan1 Linux - Newbie 9 08-21-2004 03:11 PM
format/file delete neozero62 Linux - Software 1 05-17-2004 06:39 PM
Format hardisk ? thundersnows Slackware 3 11-05-2003 07:33 PM

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

All times are GMT -5. The time now is 08:30 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