You are not logged in.
Hi,
I am a newbie to Arch Linux, though I have been using other distros for a long time. I want to install Arch Linux on my father's new Dell XPS 17 L702X laptop which has TWO 500 GB hard disks of identical make and model (one has windoze on it, the other is for linux). Usually, I would expect /dev/sda to be the primary hard drive (which has windoze) and /dev/sdb to be the target drive for Arch. However, the installer seems to reverse the order of the drives for some reason, and this has me confused because I can't figure out how to pick the one which doesn't have the Windows OS on it. I guess one way to go would be to use a partitioning/formatting tool to format the second hard drive in ext2fs and then boot up the Arch installer. Also, the installer doesn't distinguish between the drives based on serial number, so I can't figure out which one is which.
I would appreciate receiving suggestions about how to proceed.
Thanks in advance!
Offline
I guess one way to go would be to use a partitioning/formatting tool to format the second hard drive in ext2fs and then boot up the Arch installer.
This is what I would do.
It might not seem very user friendly, but this is the price we pay for keeping Arch light-weight and easy to customise.
Offline
Can you suggest a way to do this, so that the hard drives look absolutely distinct when I next boot up the Arch installer?
EDIT -- I don't have access to another distro of Linux presently, so I have to do this through Windows.
Last edited by darkmav (2012-01-22 08:20:59)
Offline
The two HDDs will probably be partitioned differently. The Windows7 one will have a 200MB boot partition, probably a DELL recovery one, plus one for system and data. The other will probably only have one partition, if that.
In the installer, go to a virtual terminal, use
# fdisk -lto look at the partitioning of the drives, identify the drive you need, go back to the installer and start proper partitioning on the correct drive.
If you can't identify them with fdisk or are unsure:
Use "Disk Management" (Win7: 'Administrative tools', just search for 'partition' in the Control Panel) to put a recognizable partition layout on your future linux disk, anything that looks different from your Windows drive (e.g. 1 primary 100MB partitions and the rest empty space or something like that). Win won't let you format to anything but FAT and NTFS afair, but that doesn't matter, we'll be making new partitions anyway.
Boot up installer, use fdisk, identify disk, back to installer, partition correct drive, enjoy!
[edit: I think I remember that Win7 can't hibernate if it's bootloader is not in the MBR, so when you install your bootloader, make sure to install it into the MBR of your linux drive, not the Windows one. Even then, for proper hibernation it might be necessary to boot Win7 via BIOS instead of chainloading. I don't have a Win7 installation anymore, otherwise I'd check ....]
Last edited by lastchancetosee (2012-01-22 09:41:31)
My ship don't crash! She crashes, you crashed her!
Offline
EDIT -- I don't have access to another distro of Linux presently, so I have to do this through Windows.
When you boot the Arch Linux CD, you don't have to stay in the ncurses installer, the CD also provides a console-based live environment. Once you have the console, I would try something like,
df -TI don't use Windows at all, so I can't test it, but I would expect the Windows partitions to show up as having a different type.
Offline
Since this is a new computer I'd guess the future linux harddrive to have been formatted NTFS by DELL, so that probably won't help. The partition layout should still be different, though.
My ship don't crash! She crashes, you crashed her!
Offline
Since this is a new computer I'd guess the future linux harddrive to have been formatted NTFS by DELL, so that probably won't help. The partition layout should still be different, though.
Ah, yep.
Okay, so what about something like,
for d in /dev/sd*; do echo $d; mount -t ntfs $d /media; ls /media; umount /media; doneThis should show which partitions have Windows files in them.
Offline
The UUID will be different. For hard drive info, run:
blkid
Can use e2label one the ext* partition, to make it less confusing.
Offline
I don't know how your father will feel about this, but...
To be completely safe, pop the cover and unplug the drive with windows. Prove that you have the right drive. That way there is no way to accidentally wipe his Windows.
Install Arch on the other drive to your heart''s content. After you are done, reconnect the windows drive.
Now, let's talk about the boot loader. What are your plans?
Assuming the system boots from the Windows drive, are you going to replace the Windows boot loader with grub? If so, you need to set up Grub to chain load Windows from the same drive, but load Arch from the other drive [ i.e. (hd1, xxx) versus (hd0, xxx) ]
I would try to leave the Windows boot loader alone and coerce the system to boot from the Arch drive. Then, to boot windows, just have Grub run the boot loader from the other (the Windows) disk. As an extra bonus, I would hide the Arch disk from Windows using Grub. That way Windows, or any of its Malware, are less likely to muck with your Linux install.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline