LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices


Reply
  Search this Thread
Old 08-12-2013, 03:30 AM   #1
dirtyfishtank
LQ Newbie
 
Registered: Aug 2013
Posts: 9

Rep: Reputation: Disabled
Reformating/Deleting unused partitions


Hi all. I have an embedded x86 pc with a 64GB ssd. It's running windows compact currently but I want to get rid of that completely and run Linux instead. I have my own Linux build that I need to put on it. To do this I need to reformat/delete the windows partition completely, live boot it from a usb distro such as Damn Small Live and then netboot it using my own image.

Does anyone know how I can delete/format the windows partition completely from a Live DSL boot or install DSL over (to replace) windows? I tried this from a live DSL boot:
Code:
sudo -s
cfdisk /dev/hda
But that always returns a "FATAL" error, can't open disk. Typing "install" at the command line during boot starts installation but fails almost immediately. And when I try the graphical installer nothing happens. fdisk has the same result as cfdisk. any thoughts?
 
Old 08-12-2013, 03:33 AM   #2
astrogeek
Senior Member
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=14, FreeBSD_10{.0|.1}
Posts: 2,660

Rep: Reputation: 1151Reputation: 1151Reputation: 1151Reputation: 1151Reputation: 1151Reputation: 1151Reputation: 1151Reputation: 1151Reputation: 1151
Are you sure it is /dev/hda when booted to DSL?

It might be /dev/sda ...or something else.
 
Old 08-12-2013, 03:39 AM   #3
dirtyfishtank
LQ Newbie
 
Registered: Aug 2013
Posts: 9

Original Poster
Rep: Reputation: Disabled
That's a good point. I'm not 100% sure, but /dev/sda is always the usb drive that I'm using to boot, so by formatting that I lose everything. Output from dmesg doesn't tell me anything about the hard drive at all. Is there another way to check?
 
Old 08-12-2013, 03:41 AM   #4
astrogeek
Senior Member
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=14, FreeBSD_10{.0|.1}
Posts: 2,660

Rep: Reputation: 1151Reputation: 1151Reputation: 1151Reputation: 1151Reputation: 1151Reputation: 1151Reputation: 1151Reputation: 1151Reputation: 1151
I would boot to DSL and look in /dev/hdx... sdx...

Try mounting and look inside to be absolutely certain which is the windows drive - then umount and cfdisk.
 
Old 08-12-2013, 04:26 AM   #5
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 16,448
Blog Entries: 2

Rep: Reputation: 4512Reputation: 4512Reputation: 4512Reputation: 4512Reputation: 4512Reputation: 4512Reputation: 4512Reputation: 4512Reputation: 4512Reputation: 4512Reputation: 4512
DSL comes with a 2.4 kernel which may have problems with the hardware in your machine. I would give recent versions of Slitaz, Puppy or Tinycore a try.
 
1 members found this post helpful.
Old 08-13-2013, 12:22 AM   #6
dirtyfishtank
LQ Newbie
 
Registered: Aug 2013
Posts: 9

Original Poster
Rep: Reputation: Disabled
Yes, using SliTaz seems to have resolved my problem. Thanks
 
  


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
making use of unused partitions adityavpratap Slackware 2 03-18-2007 07:49 PM
2006: How include unused partitions? Bengan Mandriva 10 01-12-2006 08:07 AM
Deleting unused space from a partition Tsukasa7 Linux - Newbie 2 08-31-2005 02:05 PM
Deleting unused harddisk blocks sausagejohnson Linux - General 4 06-29-2005 01:04 AM
Including unused partitions kartik Linux - Hardware 2 05-03-2002 07:13 PM


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