Search:  

 
 
   All ForumsHot TopicsGallery






how-to block ads


 
Forums » Tech and Talk » OS and Software » All Things Unix » Dual Boot Ubuntu - Windows -Encrypt - Best Practice Question
Search Topic:
Share Topic:
RSS topic:
toggle:
flat / full
normal / watch
Posting:
Post a:
Post a:
Hardy Heron/FF3 messed up with reverted FF2 »
« Centos 5.1 - boot from SAN issue - help needed on resolution  
AuthorAll Replies


yock
The Internet Is For Porn
Premium
join:2000-11-21
Fairfield, OH

reply to jgkolt
Re: Dual Boot Ubuntu - Windows -Encrypt - Best Practice Question

When you reinstalled Windows you deleted grub from the MBR. You need to boot the Ubuntu live CD and reinstall grub. Your configurations should be saved in /boot and everything should boot normally.
--
Laughter is the closest distance between two people. --Victor Borge
Lynch All Liars


jgkolt
Premium
join:2004-02-21
Lakewood, OH
clubs:

I tried using super grub and couldnt boot using grub to boot linux (windows worked). The pc is now wiped clean. I am curios how to partition and setup my pc for the future.
--
Learning how to invest. Sign up to get 3 free trades for you and me each. Personal Message me. Thanks


yock
The Internet Is For Porn
Premium
join:2000-11-21
Fairfield, OH

Your particular distribution should document a recommended size for the installation of the base system. You'll want to augment that a bit for future package installs. The lion's share of your disk space should be allocated for personal data: documents, databases, multimedia, etc.

Swap should be about twice the size of your installed memory, up to about 2GB. Unless you're into kernel development, you really don't need anything larger.


jgkolt
Premium
join:2004-02-21
Lakewood, OH
clubs:

would it be advised to have the partitions again like this?
windows partition
linux partition
linux swap
boot partition
and another personal data partition(ext3 or ntfs?)
--
Learning how to invest. Sign up to get 3 free trades for you and me each. Personal Message me. Thanks


yock
The Internet Is For Porn
Premium
join:2000-11-21
Fairfield, OH

It's all a mater of opinion. These days there aren't any technical reasons why you'd need any more than root and swap, but you may find more useful. For instance, I keep all of my media and projects in /opt. I do this because distributions usually use /home for storing desktop configuration, which might vary between distros, yet I still want to separate my files from the system's files.

You have to identify your needs, which will come from how you intend to use the machine. That will tell you more about partitioning schema than some flunky's recommendation on this forum.


jgkolt
Premium
join:2004-02-21
Lakewood, OH
clubs:

edit:
May 8th, @11:09AM

where would you recommend i put the bootloader at? a separate /boot partition? or on one of the main partitions (windows linux)?
--
Learning how to invest? Sign up to get 3 free trades for you and me each. ME me


yock
The Internet Is For Porn
Premium
join:2000-11-21
Fairfield, OH
Your bootloader goes on the MBR, and will be installed there automatically unless you specify otherwise. The /boot partition is for storing kernel images and bootloader configurations.


jgkolt
Premium
join:2004-02-21
Lakewood, OH
clubs:

oo. I thought the mbr would be stored there so if I reinstalled windows or linux it wouldn't mess up grub and the mbr. See still learning. Guess Ill make a 30 gig ntfs partition, ext3 linux, ext3 /home partition maybe, and linux swap. Maybe i can put the home folder on its own partition ext3 and put windows my docs on that home partition installing the linux ext2 driver to be able to write to that folder(file name called EXT2IFS_.EXE , i forget the website).

Is there any good way for me to setup the pc so if i need to reinstall windows or linux i dont mess up grub and have to wipe it clean and start over?
--
Learning how to invest? Sign up to get 3 free trades for you and me each. ME me


graysonf
Premium,MVM
join:1999-07-16
Fort Lauderdale, FL

said by jgkolt See Profile :

Is there any good way for me to setup the pc so if i need to reinstall windows or linux i dont mess up grub and have to wipe it clean and start over?
All my machines have removable hard drives. When I want to boot to another OS, I shut the machine down, swap drives, and turn it back on. It takes 2 seconds to swap the drive.

The advantage to this setup is that it's not possible to hose a drive/OS when it's not even in the machine.


jgkolt
Premium
join:2004-02-21
Lakewood, OH
clubs:


edit:
May 8th, @10:06PM

I have windows installed on partition 1. If i install linux on partition 2 say fedora and later want to install ubuntu on the linux partition instead of fedora do i need to do anything special or can i just reformat the linux partition and install?

Down the road I assume I will be reinstalling windows way more often than linux. is there any way to best setup the machine now so when i need to wipe the windows partition and reinstall (as i do about every 6 months to a year) i won't mess the bootup (grub) and my linux install? I am trying to plan now so it is easier down the road

on a side not i am on a laptop and swapping hard drives works well on my desktop pc but not soo much here.
--
Learning how to invest? Sign up to get 3 free trades for you and me each. ME me


graysonf
Premium,MVM
join:1999-07-16
Fort Lauderdale, FL

A Linux installed on partition 2 can be overwritten with another Linux later. The installer will see the whole drive and make suggestions about where it thinks it wants to be installed. This is also a perfect opportunity to accidentally wipe out anything and everything you really wanted to keep, so be careful. With removable drives, this can't happen.

When you install Windows, it writes its boot record to the MBR. I don't know if this is optional or not, but you can only have one MBR. It's a lot easier to get a hosed Windows MBR back than a hosed Linux one.

What you really want to do is not write the Linux boot loader to the HD at all, but make a boot disk. To boot Linux, you put the disk in the removable media drive and boot into Linux.

Without the disk in, Windows boots off the MBR.

This used to be doable in the old days because the Linux installer offered to make the boot floppy for you during the install, and then you told it not to write any boot record to the hard drive at all.

But that was then, when everything needed to go on the floppy would fit there.

Today, the kernel and init files are too large. From an up and running Linux you can make a boot disk iso image, then burn it to CD, then boot with that. But this can't be done from the Linux installer at install time.

If I were you, I'd find some way to come up with that bootable CD image. You could get somebody else to make it for you and you could verify that the grub/lilo config is correct for your setup. If so, burn it. If not, edit the appropriate files inside the iso image, then burn it. I'd use a CDR-W until I get it right, then do the final burn to CDR.

There are probably other ways to get there, but the way I'm set up here with removables, I don't need to screw with any of this stuff.


jgkolt
Premium
join:2004-02-21
Lakewood, OH
clubs:

thanks for the info grayson

You ever encrypt your whole disk before? windows and linux? That was my last option i was looking at. TO save money instead of going the safeboot route i am thinking about true crypt.
--
Learning how to invest? Sign up to get 3 free trades for you and me each. ME me


graysonf
Premium,MVM
join:1999-07-16
Fort Lauderdale, FL

No, never the whole disk. I've done encrypted swap partitions, easy enough to do and you can't get screwed.

And I've done lots of BestCrypt encrypted containers for sensitive data storage.

And I've read lots of disaster stories about whole disk encryption (WDE) gone horribly wrong. One guy even left the only copy of the private key on the drive, then encrypted the whole drive. When he booted it next, it asked for the private key. Ouch.

Like I said, there are lots of 'opportunities' out there with all this stuff.


jgkolt
Premium
join:2004-02-21
Lakewood, OH
clubs:

ok. i am going to install open suse on the other part of the hard drive. later i will probably wipe that clean and install ubuntu. 6-8 months down the load i am going to reinstall windows. I want to mainly work on linux with windows for backup where needed. any suggestions so i dont lose my other partitions and have to reinstall both os's again when i reinstall one?
--
Learning how to invest? Sign up to get 3 free trades for you and me each. ME me


graysonf
Premium,MVM
join:1999-07-16
Fort Lauderdale, FL

Some suggestions.

Make regular backups of hard or impossible to replace data. Find a "hands off" way to do this that can be automated on a schedule so you don't have to do the job yourself. Make sure your backups are good and that you can actually restore them. This has to be tested somehow, and it needs to be a real test. Probably the easiest way is to get this figured out right after the initial install, then just restore right over it and see if it worked. Nothing worse than having no backups at all and needing them, or having backups that cannot be restored. I use Acronis True Image stuff here. It just works.

Partitioning and formatting. Make sure you know the drive layout well if you are going to manipulate an existing setup. Really know what you are looking at, write it all down so you have something to look at later when you won't be able to easily get back to look again with familiar tools that are no longer accessible.

There is no mercy with fdisk and mkfs. Telling them to delete the wrong partition, or format the wrong device is surprisingly easy. And what you see for a drive layout in an installer getting ready to whack a disk might not look familiar. As I have said, 'opportunities' abound. It is impossible to be too careful.

Leaving some unpartitioned space on a drive is a good idea if you can afford the unused space. If you ever get into a jam and need some disk space, you can create it there. But if it doesn't exist and the drive is full, too bad.

Good luck.
Forums » Tech and Talk » OS and Software » All Things UnixHardy Heron/FF3 messed up with reverted FF2 »
« Centos 5.1 - boot from SAN issue - help needed on resolution  


Tuesday, 14-Oct 10:53:27 Terms of Use | Privacy Policy | Hosting by www.nac.net - DSL,Hosting & Co-lo | feedback | contact
over 9 years online! © 1999-2008 dslreports.com.republican-creole
page compression OFF
Most commented news this week
· [68] Comcast: Hey, At Least We're Not Hiking Broadband/VoIP Prices
· [30] 72% Of P2P Pirates Would Stop With ISP Warning
· [28] Google: We're Fresh Out Of Androids
· [27] AT&T To Sell U-Verse At Walmart, Circuit City
· [27] Crackberry Addicts Fear Microsoft Takeover
· [24] Virgin: Our 50Mbps Tier Breaks Your Speed Tests
· [18] FCC's Smut-Free Broadband Plan Goes Forward
· [15] All Hail the New RIAA Copyright Czar
· [11] Monday Evening Links
· [3] Checking Out Dish's 1080p Offering
Most people now reading
· Official Patch Notes - 3.0.2 [World of Warcraft]
· Extreme HD and Essentials [Verizon FIOS TV]
· [Rant] People in SC DO NOT know how to drive...PERIOD [Rants, Raves, & Praise]
· Windows 7 final Name is 'Windows 7' [Microsoft help]
· Legal for an employer to deny employment based on: [General Questions]
· What means head of man in the sea or lake water? [General Questions]
· [ Classes] Hunters in 3.0.2 (from BRK and WoWInsider.com) [World of Warcraft]
· IMG 1.6 Build 06.89 Released [Verizon FIOS TV]
· This Worries Me [TekSavvy]