Partitioning travels (and Happy Birthday to me!)

Next to my avatar, I note that I signed up here 5 years ago today. Not as long as I've been sober,    but still a milestone. I'm quite sure my first Arch install was 0.4...'Voodoo'? The first Linux distro I touched that showed promise of one day "being ready for prime time" - I'm glad I waited for it!
So, this is a 'slightly' off-topic post (but still quite 'on-topic'), and if the powers that be choose to move it; so be it. No skin off my back. This is (IICC) my 89th post in 5 years. Over the years I've made a couple of gaffes, and found more than a couple of bugs (my 'weird' partitioning schemes, outlined below, may test parts of software that most people don't, I don't know).
But overall, I'm pretty quiet. I sometimes wait longer than I should for bugs I find annoying to be fixed, but they almost always are, without my involvement, and often as quickly as I could get a "round tuit" filling out a bug report! My own experience has been that unless I think I've found something substantial, early (which I've sortof done twice in the past two days), I don't report it. And if I do, I report it here. It usually shows up in days, if not hours, anyway. Just my experience.
Anyway, I started checking out a (small number of) distros a few months back, plus I've been piddling with Arch x86_64 installs, so I've been dual-booting (between 32- and 64-bit Arch) even when I only have Arch on the machine! But I've had as many as 5 (Arch 32- and 64-bit, DistroU 32- and 64-bit, and DistroD WTF remembers how many bits it was now).
For a good while (several years, in some form), I've had a partitioning scheme which I've never seen replicated in any tutorials on the subject, but which I find quite flexible and useful.
I have several "non-mainstream" methods for handling multi-booting. Feel free to pick and choose anyhing you find useful, free as in beer and free (of) as in warranty, of course. 
swap belongs on the fastest part of the drive; usually if not always the very beginning (outside) of the drive - IF you only have one installation. In this case, making a 1 GB swap, a  /  of your choice, size-wise, followed by (if you choose) a /home partition that takes the rest of the drive, saving a chunk at the end (40-80 MB) for /boot.
To do this, when partitioning a new drive, 1st create a 1-2 GB primary ('xdy1'; x='s' or 'h', y='a-z'), for swap. Next, create a 2nd *primary* right behind, physically, xdy1 ('sda1'), xdy2, for  /  . Whatever you need, size-wize, 4-60 GB, I guess...
NOW, depending on with *fdisk/gparted/whatever you're using, ether create your extended partition (if using an fdisk variant that will let you leave some space at the end); leave 40-80 MB free. Otherwise, create the extended partition first, and leave the last 40-80 MB unused. You should then be able (very likely after a reboot) to re-run *fdisk and create the final primary partition out of that chunk at the end. Your extended partition would've taken xdy3, so the chunk at the end is xdy4 - a *primary* partition.
You can use this puppy for /boot; /boot BELONGS on the slowest part of the drive. It's very rarely accessed after sysinit. This setup offers 2 advantages: while no BIOS capable of running a 686-optimized Linux system limits you to the first 1024 'cylinders' (sic), some DO require the /boot partition to be on a primary partition. This IS a primary partition. Furthermore, if permanently placed at the end of the drive as a logical partition, every time you added or re-arranged your partitions, it's partition number would most likely change (the partition ID of your BOOT drive - yeah, yeah, I know, UUID's...). With it stuck like glue to 'sda4', it ain't going anywhere, regardless of how (or how many!    ) times you reorganize the extended partition (which is where.I tend to do most of my 'playing').
You can then use the entire extended partition for /home, if you wish, or carve it up however you like. More on this below.
When multi-booting, I've found ("developed"???) a sightly more sophisticated set of arrangements that seem to work well together (WHY RedHat didn't think of this in 1996 - it would be a de facto standard today! - I have NO idea...)
Normally, distros want to install a vmlinuz26, and and a kernel26.img  (and maybe a fallback image, and a config26.gz, and a System.map file), into /boot/. A lot of my older (and some of my newer) machines required bootable partitions to be on a *primary* partition. Install 5 distros like *that*.
Actually, it's QUITE easy:
Note: I have a larger-than-normal (for ME) /boot partition (96 MB - and 64 would likely be adequate for 3 distros), but the reason is obvious, and IMX most people have /boot WAY too big, anyway. Right now I have 2 distros loaded (Arch 32- and 64-bit), current and former kernels are both retained for each distro - ie, 4 complete sets of kernels. My 96 MB partition is 32% full.
For our multi-boot environment,  xdy1 ('sda1') is actually a large (60 GB or so) LVM volume. 'sda2' becomes the extended volume, and 'sda3' is the 40-80 GB /boot volume at the end of the drive. We have the entire extended partition to use *outside* LVM. I generally use a VERY large 'chunk' size in LVM (like 256 MB!), and try to set it up, roughly, as such (on a 250 GB = 236 GB drive):
sda1 P LVM 64 GB
sda2 E extended ?
sda5 L logical ?
sda4 P /ext2+++ 64 MB
+++ there is ZERO reason to make a /boot partition ext3 and incur the substantial overhead of a 32 MB journal on a 60-100 MB filesytem! The system runs BEAUTIFULLY with boot mounted ro - that's my normal MO, in fact. I can always remount it rw on the rare occasions I need to update something.
Rather than using dev-mapper's long naming conventions, I create a Volume Group called vg, and Logical volumes called, say, ar and ah and such:
ah 4 GB # arch32 /home
ar 8 GB # arch32 / (root)
sw 1 GB # swap (shared)
sd 3 GB # data partition shared between all O/S's on the machine (if desired...).
br 8 GB # arch64 / (root)
bh 4 GB # arch64 /home
You can add more lv's to install additional O/S'es.
You are NOT forced, in either fstab, GRUB, OR LILO, into using the 40-character-long "dev/dev-mapper/vg01/dm-01" syntax; from above, "dev/vg/at" works great, and reasonably resembles your other partition ID's. 
Note that no matter HOW many O/S'es we install, we only use ONE /boot partition! I might have to go to a 128 MB or 256 MB partition. 
While I normally have fstab mount /boot ro, it's easy, of course, to remount it rw on the fly. Since all distros SHARE the same /boot (normally only mounted ro by all concerned), if one distro borks it's grub entries or installs a REALLY crappy kernel, it's quite easy to get to the file in question from another O/S!
I first installed Arch i686 on this machine (AMD64 XP3500+). I then created a directory at /boot/arch32. I copied (*copied*, NOT moved) all the loose files from the /boot directory (vm*, kern*, Sys* in arch's case) into the /boot/arch32 directory. I then update /boot/grub/menu.lst, replicating all it's primary entries as new options to select, with '/boot/vmlinuz26' becoming '/boot/arch32/linuz26', etc. These come BEFORE the original selections. I leave the loose files in /boot alone; they aren't hurting anything, and, who knows...
Reboot choosing the 'normal' option (not 'safe'). If the system boots correctly, I leave the 'fall-back' option from the original Arch install as the LAST entry in grub (it's literally the 'last shot', anyway...). Theoretically, it should pick up these 'loose' files, were it to come to that.
Now, whenever Arch updates the kernel, it (wisely) doesn't do a bunch of checking in /boot/grub/menu.lst or check what files are in /boot; it simply recompiles a full set of files and slaps them into /boot. All I have to do when there is the occasional kernel update is:
cd /boot
rm -rf arch32old
mv arch32 arch32old
mkdir arch32
cp vm* kern* Sys* arch32/
All is ready to go. The next boot will RUN the kernel from the /boot/arch32 directory.
That's pretty quick-n-easy considering Kernel updates don't NORMALLY (cough cough) come out that often.
One could even create GRUB entries for the arch32old (and arch64 old) kernels! (easily, basically cut-n-paste w/minor replacements/substitutions). You could have a GRUB menu that takes the entire screen!
We can now install Arch x86_64, and any other distros that recognize LVM2 and play nice with other distros.
One last thing I do: in the extended partition (preferably near the end of the drive) I set up 8 GB partitions as ext2, -b4096, -m0, -N16384 (-N65536?). I use these for the /var/cache/pacman in Arch, but other distros have similar (it not as ready for prime time!) arrangements and needs; the routine seems to wear well; I've had at least some of my now-system disk (250 GB) working like this for a good 3 years (including some REALLY substantial, solo, all-night Linux install parties!    ). My current x86_64 install, which is what I'm using now, is a fresh install, but it's not really any faster than a month's-old Arch32 install on the same computer.
Sorry for the tome. It's my birthday and I'll write if I want to...
Yes, I know this post is timestamped the day after, but I assure you I started this before midnight! 
I have no intention of "graduating from" Arch i686. I fully intend to keep both on my system (at a MINIMUM) - if one install gets borked, you can get to it fairly easily from another install on the same machine (of something DIFFERENT - I make sure to update a new kernel to one system for a week before updating the other.
A single /boot partition for a dozen distros, with a relatively easy (straight-forward, at least) and painless method for handling kernel updates from multiple distros on one machine....shared swapspace...shared storage...
On the rare chance that someone (a) is still reading, and (b) feels this is a rational start of a Wiki page, I'm willing to maintain...
Blue Skies...Keith/grndrush
Last edited by grndrush (2009-01-05 05:30:51)

Thanks to you both.
As to the 1024 cylinder limit, again, I think there are very few remaining out there in operation (*I'll* never have one, LOL) with the 1024-cylinder problem, but I HAVE had a few problems with relatively recent (in 'my' terms, which means ancient) hardware where Linux doesn't want to boot using a *logical* partition for /boot - hence the homegrown workaround to get /boot at the end of the disk. You're 100% right - today, it's not worth the time or hassle of doing so. I simply thought like this since BEFORE the days of 20 MB HD's!  .
Thanks again. Five years using Linux doesn't seem *nearly* as long as five years running Windows (although it DOES seem like a good 5 years since I've used Windows voluntarily). And, of course, these ARE faster machines... 

Similar Messages

  • "Happy Birthday" calendar event virus?

    I have an event called "Happy Birthday" on my actual birthday in September on my iPad calendar. Somehow, it's growing. I know have 25 events on my calendar on the same day and a new one appears each time I check.
    It says its from "Contacts" with an email of a bunch of letters and numbers then @virtual.
    I can't delete these events. I also don't want to remove this calendar as it's got too much work-related events.
    I've also just noticed it's done this on 2011 and 2013 but no other year.
    Is this a virus? Can anyone help get this removed?

    Hi guys,
    I think I've found a solution. I went to https://www.google.com/calendar/iphoneselect and turned off the contacts birthday calendar from syncing. I then went into settings for my calendars and turned them all off as well as my contacts. I then checked the contacts had been deleted from the device and the calendar was also gone. I then closed both the calendar and contacts apps, and then turned the calendar and contacts back on in the settings app. Duplicates are now gone!
    Hope it works for you as we'll. even if you don't show a birthday calendar go ahead and update the I formation at this link and it may still fix the problem. My friend did have the calendar but repeated birthdays were still gone once she updated at this link.

  • Happy Birthday iMac

    This month is the 10th birthday of the iMac! Wow, has it been that long since I stood out front of my local Comp-USA waiting for the truck to arrive with the first of the beautiful bondi-blue all-in-ones?
    I had been looking for an alternative to Windows for quite a while. At the time, my PC was actually running OS/2 Warp. A wonderful OS but there wasn't much you could do with it aside from the built in IBM Works suite and a pretty good version of Netscape. I was sick to death of Windows 95 and it's bugs.
    If I remember, my iMac came with System 7.5 or 8. The difference between Mac OS and Windows was night and day. It actually worked and it worked intuitively. No more hoops to jump thru just to get a file copied or converted. I was hooked from day one.
    Since then, I've had a Strawberry iMac, a G3 Graphite SE slot loader, a G5 flat-panel domer, and now an Intel Core 2 Duo. My original Bondi took a lightning hit thru the modem, so I sold it as a kid's computer. The Strawberry gave up just after upgrading it to OS X a few years ago. The Graphite lasted for almost 5 years of constant use before the power board failed. The warranty on the domer just expired but it's still going strong, and I love my Intel iMac.
    So Happy Birthday iMac! In the last 10 years, you've established a new standard for computing and every year you keep pushing the bar higher. I believe the next 10 will be even greater.
    And here's an ATABOY to Steve Jobs too

    Happy Birthday iMac! 
    My first was a 1999 Grape iMac DV (the colour has stuck on me even since!) which got me through university, that, my iMac G4 20" and 2.8GHz Core 2 Extreme are all going strong and all wonderful.
    cheers
    mrtotes

  • Happy Birthday to You

    I can easily say that most of us/members made some friends here. And friends congratulate and celebrate each other birthdays. If you wish for us to remember you on your birthday, please reply with your birthday date. Entrence fee is: you have achieved rank of Contributor. Birthdays: February 17. oldman777 April 22. joels July 13. Magnus33 August27. flhthemi September26. foetus October15. jubei0427. mike27oct28. Bill_S 

    Happy Birthday, ninja Jubei. 

  • Happy birthday @BTCare!

    Today our @BTCare Twitter page is four years old, congratulations guys!
    As you can see we decided to celebrate in style! Here are some of the team:
    StuartH and I decided to take part for purely selfless reasons, the cake required a lot of sampling before it could be shared out with everyone
    If you were near the BT Tower today you may have noticed a Happy Birthday message from the top of the tower:
    It's hard to believe it's been four years already. Well done guys, keep up the good work!
    Stephanie
    Stephanie
    BTCare Community Manager
    If you like a post, or want to say thanks for a helpful answer, please click on the Ratings star on the left-hand side of the post. If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’.

    Anyone watch Once Upon A Time?
    If so doesn't Stuart H remind you of one of the characters ?
    Life | 1967 Plus Radio | 1000 Classical Hits | Kafka's World
    Someone Solved Your Question?
    Please let other members know by clicking on ’Mark as Accepted Solution’
    Helpful Post?
    If a post has been helpful, say thanks by clicking the ratings star.

  • Happy Birthday, Lennart!

    I'm not here; I'm away on holiday: but I just had to pop in and say All Best Wishes to Lennart, who's answered so many questions Electrifyingly, has Trained us all to isolate our problems, whose Carriage under stress is exemplary, and who Steams ahead with succinct answers to awkward queries!
    Happy Birthday, Lennart ..and Many, Many More!

    Also my congratulations.
    David Babsky
    Can you contact me on my Public Email address [email protected] with an off-topic beg for help on a cinema problem following an earlier dialogue. I've lost your address.
    iMac & iBook G4, ILife4 & 5 (Apple II in the loft!)   Mac OS X (10.3.9)  

  • Happy Birthday Photoshop - 25 Years old 19th February

    Hey, I almost missed it.  Photoshop is/was 25 years old on the 19th February 2015.  There's a pretty snazzy account page (that I have not explored yet) and news reports all over the web.  Happy birthday Photoshop and to everyone who makes it such a stand out product.  It's coming up to 11pm on the west coast, so I guess the boss has taken you all out to celebrate!
    PHOTOSHOP.COM BLOG

    Happy Birthday Photoshop. Its an amazing journey for you and a long way to go

  • Happy Birthday Nokia Beta Labs!!!

    Sorry for this post and sorry for my english because is very bad....
    I task am right to make Good first Birthday all the boys of Betalabs!!!
    Happy Birthday!!!
    Message Edited by mauikek on 21-Apr-2008 09:36 AM
    www.mobileitalia.it

    You are a little late (it was last week) and in the wrong place.
    Send messages to the beta labs team here:
    www.nokia.com/betalabs/feedback
    Message Edited by psychomania on 21-Apr-2008 09:01 AM

  • Happy Birthday Macintosh Jan 24, 1984

    http://news.softpedia.com/news/Happy-Birthday-Macintosh-16764.shtml

    Hmmm! Mine was a 512K when they first came out! In subsequent transplant surgeries it became a 512e and then a MacPlus. The little guy's power supply went out once, but he still sits in his blue carrying case in a corner, as his 800K floppy drive is the only working one left which'll still read 400K floppies!
    I remember the 128K so well, as I'd already had a CP/M computer for seven years by the time the Mac came out. Having dealt with C prompts for awhile, I thought the graphic interface was the best thing since sliced bread! Our then newly opened Macy's -- a great wasteland otherwise -- had a little, and I mean little, room tucked in a corner of the basement filled with 128K Macs as demos. The room was largely vacant and had no sales people servicing it. As it was only a few blocks from my house, I used to go over after dinner and play on the Macs to learn how they worked. As much as I coveted one, my CP/M machine was much more powerful for my needs, and I knew there would be a new model out soon. When the 512's came out, I had one for my desk!

  • Happy Birthday Korngear !!!!!!!!!

    happy Birthday oh Korny-One.
    Show the KUDOS button some love.... Hit that bad boy.... It don't hurt....
    Apple iPhone 5,
    Retina MacBook Pro, iPad Mini, Nikon D4

    Okay my birthdate is now over
    It is now 24th.
    I was really scared and unhappy why Dave and Steves were still not congrating me (One I thought was gone forever and the other one I thought had forgotten me).
    Glad THEY MADE IT!!!!!!!!
    Thanks BROS.
    Where are the other peeps sap baby?

  • How can I add the Happy Birthday widget to my mac?

    How can I add the "Happy Birthday" widget to my dashboard?

    Open a Finder window and click on the Macintosh HD on the left under Devices. One of the folders showing will be the applications folder; drag it onto the dock to the right of the System Preferences icon (individual apps can go to the left, but folders need to be to the right).
    Hope that helps.
    P.S. Don't forget to update your equipment settings/signature.

  • Why are Happy birthday! events suddenly showing up on my iPad calendar?

    My birthday is Tuesday, 10/30 and this morning I noticed that 122 all day events showed up on my iPad calendar for that day.  The following information is contained in the details fields:
    Event Name:  Happy birthday!
    Accepted by:  Contacts Unknown
    Notes:  Happy birthday!
    I created a new contact to see what information was published and this is the email address that shows up:
    [email protected]ual
    Checked my calendars on the MacBook, the MacPro and my iPhone - this problem is only happening on my iPad.  I cannot delete these events which is very troubling.
    Is anyone else having this problem?  Before I call Apple I thought I'd check the community!
    Thanks,
    Angie

    Hi guys,
    I think I've found a solution. I went to https://www.google.com/calendar/iphoneselect and turned off the contacts birthday calendar from syncing. I then went into settings for my calendars and turned them all off as well as my contacts. I then checked the contacts had been deleted from the device and the calendar was also gone. I then closed both the calendar and contacts apps, and then turned the calendar and contacts back on in the settings app. Duplicates are now gone!
    Hope it works for you as we'll. even if you don't show a birthday calendar go ahead and update the I formation at this link and it may still fix the problem. My friend did have the calendar but repeated birthdays were still gone once she updated at this link.

  • Happy Birthday VMware Community

    Exactly 10 years ago on Thursday, July 10, 2003 Daryll posted the first threads in the discussion forums!
    Congratulations to everybody involved in running this great Community!
    André

     
    Happy Birthday, Acer Community!
    And Best Wishes to all of our Community Members and ACEs who have made it a success!
     

  • Partition failing and auto-starting

    Hi,
    Can anybody help regarding this problem
    We have problem in our production environment regarding the partitions.
    one of our partition(partA) crashing and auto starting frequently.
    We were not getting any information (exceptions) in the log files.
    We set some flags(memory and user defined) and checked the log files
    eventhough we haven't got any messages or exceptions.
    The partA having 3 Service Objects doesn't have DB conections.
    Client partition will call this partition(partA) and from
    here it will go to
    the another partition(partB) to talk with database.
    The partA doesn't have replicates and
    partB has 6 replicates.
    All Server partitions running on UNIX
    Client Partition running on NT.
    Forte 3.0.M.7
    Thanks,
    Satish.

    @Gran
    If you have carried out a FOTA update, re-installing existing device software upon N9 with http://betalabs.nokia.com/trials/nokia-suite-beta can be worth a try, sign in with Nokia ID & password.
    Happy to have helped forum with a Support Ratio = 42.5

Maybe you are looking for

  • How to delete duplicate row in certain case

    Hi all,</p> <p>I need you help to delete my duplicate row.</p> <p>Sample Data in table (<b>table1</b>)</p> <p style="margin-top: 0; margin-bottom: 0"> </p> <p style="margin-top: 0; margin-bottom: 0"><b>Timein        DateIn            locationin      

  • IOP5002 error when starting domain

    Hi. Can anybody help in identifying what could be the problem while starting the domain at asadmin. Please find this error log.... [#|2007-03-06T12:06:35.209-0500|INFO|sun-appserver-pe8.1_02|javax.enterprise.tools.launcher|_ThreadID=10;| /usr/jdk/ent

  • Every photo I print comes out red.

    Colour printing works fine till I choose photo paper.  The picture is black and white. The print comes out of printer Red.   This has never happened to me before.  I tried printing from Adobe Photoshop elements and Iphoto  Same results from both.

  • Rwserver -install server_name   - failing in windows XP

    Is it because of an ADMIN issue? Oracle Reports Services: "Please consult the installation guide for how to set up and run this program."

  • HT201272 Want to recover music / books from old account? Help Please

    What should I do if I still have an account with you guys, but the email that I used for the account has been removed?  I would like to recover all my purchased material, but I don't have that email anymore so I can't reset my password?