Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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.
I used DOD short and after it had finished. I attempted to install the OS and it told me that it could even though I know that the hdd is present and it ok. It was working fine until I used Nuke. I attempted to create new partition and it told me that it could see the hdd. Is there something that I am doing wrong?
If anyone wants a great tutorial on Darik boot and Nuke here it tis:
I tried to use a xp cd (my client wants to use xp) and it says that it cannot see a hdd but the Bios is seeing it ok. The hdd worked fine before using "Nuke". I also tried using the restore cdrom from the manufacturer and it also says that is cannot see any hdd. I will try a linux distro to see if it can see anything. I will use fdisk.
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195
Rep:
You nuked the drive and now you complain you can't see it?
Windows doesn't like drives with a damaged partition table. You can write out a new one with cfdisk, but start with the -z option to ignore any invalid partition tables.
# fdisk /dev/sda n (to create new partition) p (for primary partition) 1 (for partition number) default for First cylinder t (change partition's system id) 1 (for partition number) L (to view hex codes) 7 (for NTFS partition) w (to write changes)
I then formatted the NTFS partition using mkntfs -v /dev/sda1. I also made the partition active. I once again tried windows XP pro cdrom and it still is not able to see any hdd. Could it be that I didnt copy the start and ending sectors of the hdd prior to doing this ???????????????????
Last edited by metallica1973; 11-24-2008 at 03:49 PM.
I presume you mean 'dd if=/dev/zero of-/dev/sda bs=512 count=1' ? Otherwise you create a 512B file named 'whateverdevice'.
Quote:
Originally Posted by metallica1973
I then formatted the NTFS partition using mkntfs -v /dev/sda.
That would be a problem; 'sda' is the raw device; you would have overwritten the MBR and all. After you create a partition (or several of them) you need to format the partition, *not* the drive - so instead of 'sda' you'd use something like 'sda1'.
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195
Rep:
That might be, but you were given some advice about recovering. The only thing I have seen is that you cleaned the partition table AND formatted the drive (not the partition) as NTFS which was said to be wrong.
I just punched myself in the mouth for being so naive. This Gateway laptop M285-e Touch screen has Sata drives. The poorly packaged Gateway Restore Cdrom for this model does not have the correct drivers for the controller for this laptop(confirmed by MPC Computers formerly Gateway). It makes sense because I could load Ubuntu on it fine but I couldnt load XP pro or the XP 2005 Tablet Edition Gateway Restoration cdrom. So to make a long story short it had nothing to due with Darik's Nuke so I take all that was said badly about the product back thus inserting foot in mouth as I type. Many thanks to all. Now I have to figure out how I can add the driver to the system so that the restore cdrom will recognize the Sata controller.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.