ZFS boot partition?

Hi All,
I'm currently being asked to look creating a number of servers with mirroring. Ideally the whole server will use ZFS which would mean it would also need to boot from ZFS.
Looking at the OpenSolaris website:
http://www.opensolaris.org/os/community/zfs/boot/zfsboot-manual/
It looks like it's possible to do this. My problem is that I need to use vanilla Solaris on SPARC, and some bits and pieces from those instructions don't work.
Is this even possible? If it's not, what's the best I can hope for?
I'm currently testing on x86 (in VMWare), I'll be deploying on SPARC.
Thanks for any help.....

Darren_Dunham wrote:
Boot procedures on x86 and SPARC are still quite different. So your testing on one doesn't necessarily help on the other. You'll note that the link you show is only for x86.
A new boot method for SPARC is being developed that will work with ZFS, but it hasn't been released the way the x86 side has. So you can't boot from ZFS on SPARC just yet.
DarrenI've also had issues with ZFS root in the X86 world. I won't go into the details as I'm not 100% certain whether it was the Nevada Build I was using (76) or if it was user error.
The current roadmap has ZFS boot for mainline Solaris as coming in either U5 or U6 according to a briefing we had recently. That puts it out anywhere from mid to very late 2008.
Dev Express will likely have it sooner, but we're back to "Is this production"? If it is, I would wait for it to be solid and stable and in main-line Solaris.
Cheers,

Similar Messages

  • How to back up a ZFS boot disk ?

    Hello all,
    I have just installed Solaris 10 update 6 (10/08) on a Sparc machine (an Ultra 45 workstation) using ZFS for the boot disk.
    Now I want to port a custom UFS boot disk backup script to ZFS.
    Basically, this script copies the boot disk to a secondary disk and makes the secondary disk bootable.
    With UFS, I had to play with the vfstab a bit to allow booting off the secondary disk, but this is not necessary with ZFS.
    How can I perform such a backup of my ZFS boot disk ?
    I tried the following (source disk: c1t0d0, target disk: c1t1d0):
    # zfs list
    NAME USED AVAIL REFER MOUNTPOINT
    rpool 110G 118G 94K /rpool
    rpool/ROOT 4.58G 118G 18K legacy
    rpool/ROOT/root 4.58G 25.4G 4.50G /
    rpool/ROOT/root/var 79.2M 4.92G 79.2M /var
    rpool/dump 16.0G 118G 16.0G -
    rpool/export 73.3G 63.7G 73.3G /export
    rpool/homelocal 21.9M 20.0G 21.9M /homelocal
    rpool/swap 16G 134G 16K -
    # zfs snapshot -r rpool@today
    # zpool create -f -R /mnt rbackup c1t1d0
    # zfs send -R rpool@today | zfs receive -F -d rbackup               <- This one fails (see below)
    # installboot /usr/platform/`uname -i`/lib/fs/zfs/bootblk /dev/rdsk/c1t1d0s0
    The send/receive command fails after transfering the "/" filesystem (4.5 GB) with the following error message:
    cannot mount '/mnt': directory is not empty
    There may be some kind of unwanted recursion here (trying to back up the backup or something) but I cannot figure it out.
    I tried a workaround: creating the mount point outside the snapshot:
    zfs snapshot -r rpool@today
    mkdir /var/tmp/mnt
    zpool create -f -R /var/tmp/mnt rbackup c1t1d0
    zfs send -R rpool@today | zfs receive -F -d rbackup
    But it still fails, this time with mounting "/var/tmp/mnt".
    So how does one back up the ZFS boot disk to a secondary disk in a live environment ?

    OK, this post requires some clarification.
    First, thanks to robert.cohen and rogerfujii for giving some elements.
    The objective is to make a backup of the boot disk on another disk of the same machine. The backup must be bootable just like the original disk.
    The reason for doing this instead of (or, even better, in addition to) mirroring the boot disk is to be able to quickly recover a stable operating system in case anything gets corrupted on the boot disk. Corruption includes hardware failures, but also any software corruption which could be caused by a virus, an attacker or an operator mistake (rm -rf ...).
    After doing lots of experiments, I found two potential solutions to this need.
    Solution 1 looks like what rogerfujii suggested, albeit with a few practical additions.
    It consists in using ZFS mirroring and breaking up the mirror after resilvering:
         - Configure the backup disk as a mirror of the boot disk :
         zpool attach -f rpool <boot disk>s0 <backup disk>s0
         - Copy the boot block to the backup disk:
         installboot -F zfs /usr/platform/`uname -i`/lib/fs/zfs/bootblk /dev/rdsk/<backup disk>s0
         - Monitor the mirror resilvering:
         zpool status rpool
         - Wait until the "action" field disappears (this can be scripted).
         - Prevent any further resilvering:
         zpool offline rpool <backup disk>s0
         Note: this step is mandatory because detaching the disk without offlining it first results in a non bootable backup disk.
         - Detach the backup disk from the mirror:
         zpool detach rpool <backup disk>s0
         POST-OPERATIONS:
         After booting on the backup disk, assuming the main boot disk is unreachable:
         - Log in as super-user.
         - Detach the main boot disk from the mirror
         zpool detach rpool <boot disk>s0
    This solution has many advantages, including simplicity and using no dirty tricks. However, it has two major drawbacks:
    - When booting on the backup disk, if the main boot disk is online, it will be resilvered with the old data.
    - There is no easy way to access the backup disk data without rebooting.
    So if you accidentally lose one file on the boot disk, you cannot easily recover it from the backup.
    This is because the pool name is the same on both disks, therefore effectively preventing any pool import.
    Here is now solution 2, which I favor.
    It is more complex and dependent on the disk layout and ZFS implementation changes, but overall offers more flexibility.
    It may need some additions if there are other disks than the boot disk with ZFS pools (I have not tested that case yet).
    ***** HOW TO BACKUP A ZFS BOOT DISK TO ANOTHER DISK *****
    1. Backup disk partitioning
    - Clean up ZFS information from the backup disk:
    The first and last megabyte of the backup disk, which hold ZFS information (plus other stuff) are erased:
    dd if=/dev/zero seek=<backup disk #blocks minus 2048> count=2048 of=/dev/rdsk/<backup disk>s2
    dd if=/dev/zero count=2048 of=/dev/rdsk/<backup disk>s2
    - Label and partition the backup disk in SMI :
    format -e <backup disk>
         label
         0          -> SMI label
         y
         (If more questions asked: press Enter 3 times.)
         partition
         (Create a single parition, number 0, filling the whole disk)
         label
         0
         y
         quit
         quit
    2. Data copy
    - Create the target ZFS pool:
    zpool create -f -o failmode=continue -R /mnt -m legacy rbackup <backup disk>s0
    Note: the chosen pool name is here "rbackup".
    - Create a snapshot of the source pool :
    zfs snapshot -r rpool@today
    - Copy the data :
    zfs send -R rpool@today | zfs receive -F -d rbackup
    - Remove the snapshot, plus its copy on the backup disk :
    zfs destroy -r rbackup@today
    zfs destroy -r rpool@today
    3. Backup pool reconfiguration
    - Edit the following files:
    /mnt/etc/vfstab
    /mnt/etc/power.conf
    /mnt/etc/dumpadm.conf
    In these files, replace the source pool name "rpool" with the backup pool name "rbackup".
    - Remove the ZFS mount list:
    rm /mnt/etc/zfs/zpool.cache
    4. Making the backup disk bootable
    - Note the name of the current boot filesystem:
    df -k /
    E.g.:
    # df -k /
    Filesystem kbytes used avail capacity Mounted on
    rpool/ROOT/root 31457280 4726390 26646966 16% /
    - Configure the boot filesystem on the backup pool:
    zpool set bootfs=rbackup/ROOT/root rbackup
    Note: "rbackup/ROOT/root" is derived from the main boot filesystem name "rpool/ROOT/root".
    - Copy the ZFS boot block to the backup disk:
    installboot -F zfs /usr/platform/`uname -i`/lib/fs/zfs/bootblk /dev/rdsk/<backup disk>s0
    5. Cleaning up
    - Detach the target pool:
    zpool export rbackup
    I hope this howto will be useful to those like me who need to change all their habits while migrating to ZFS.
    Regards.
    HL

  • Lost data on /boot partition [solved]

    Lost data on /boot partition. Is there a way to recover it with Archlinux CD?
    Last edited by primez (2010-04-08 18:45:53)

    i think the easiest is to chroot into your installation, and then do a pacman -S kernel26

  • How can I access my user folder on a second boot partition?

    Hi there. Thank you for reading this. I am at a bit of a loss although I have searched several forums to find someone having the same problem:
    I use my Macbook Pro in the office and at home. To keep things strictly apart and have to separate Time Machine backup procedures, I have divided my harddrive into two boot partitions ('office' and 'private') and installed Mountain Lion on both of them. Now occasionally when I am at the office I would like to access my  user folder on 'private' to retrieve a file from the documents folder there (e.g. a paper I gave in my free time but would like to send to a colleague). Now although I see the 'private' volume, and the other user folder and the Documents folder in it with a red 'No Access' badge, even when I  set read/write permissions via Command-I > Permissions for my current account, I do not see any files in it apart from Microsoft User Data. I have tried enabling the root user but with the sam result.
    Do I really have to shut down the computer and boot with the 'private' boot volume in order to access the files on 'private'>user?
    Looking forward to your suggestions! Thank you in advance!
    Christian

    To solve this issue permanently, is to first disconnect both TimeMachine drives.
    Boot into one partition and consider it history, make a note of everything, apps, export bookmarks, serial keys and files to a regular external drive. (non TimeMachine)
    If on a hard drive, consider the first partition for performance, the second one is going to be slower. (SSD no need)
    Next what you do is boot into the first partition and use Disk Utility to erase (with zero option if a hard drive) the other partition. Then use Carbon Copy Cloner to clone the first partition to the second. (should be about equal sizes or tweak before cloning.)
    Repair permissions on both partitions in Disk Utility.
    Next boot into the second partition and install/uninstall apps and files. etc and set it backup up the way you had it.
    Once your sure, then update TimeMachine for each one.
    Now you will be able to easily access the other bootable partition as long as your logged into the same account name on the first partition., in other words you can access the same named account on both partitions and trade files without rebooting.
    Because it's a clone, you have the same access privileges to the files on the other partition.
    If your a power user, your going to find bootable clones are a much superior option than TimeMachine
    Most commonly used backup methods

  • Data recovery from corrupt boot partition

    The boot partition on my MacBook running 10.7.6 has a corrupt volume structure and will not mount, much less boot. The recovery partition boots but really doesn't let me do anything. Disk Utility can't repair nor even complete verification. I have lots of images which I need to recover, so am looking for a utility which might help.
    Everything was apparently ok until the failure and the drive hardware checked out ok, so I'm hopeful my files are recoverable. A week or so ago I optimized the volume with TechTool Pro and the directory with DiskWarrior, and last night attempted to sync 1Password on my iPad with 1Password for Mac. This did no t work, probably because of my unfamiliarity with the procedure, but seemed to do no damage. When I ran TTPro last night from its eDrive partition it reported a volume structure problem on the partition which I started to fix with the program but then cancelled the analysis and decided to use disk utility instead. Disk utility also reported a problem but stopped the verification with the instruction to do a repair which it again could not complete. When I rebooted the system partition would again not boot but this time I got grey screen with a message that the debugger had loaded and <panic>. A message box said power down and restart, but that only repeats the process.
    I'm thinking of attempting to install a system on an external boot drive and accessing the corrupt partition with a data recovery utility. Any insights, ideas or shared experiences appreciated. Thanks in advance for any desperately needed help.

    The safest thing to do here is to install a new disk in the system and do a clean install of OS X. From there, you can put your corrupted volume in an external USB enclosure and mount the file system to try and recover as much data as you can.
    It's likely obvious now, but it's REALLY worth investing in a large-capacity external storage or Time Capsure to use with Time Machine. Backups are essential. Hardware always eventually dies. We all need an effective strategy to deal with that.
    A long time ago, I was backing my Linux system up to 4mm DAT. When the inevitable HDD crash came, I thought I was ready. Unfortunately, I hadn't tested recovery from tape and I ended up losing everything. Which is to say, until you know you can restore, you don't even have a backup. I lost thousands upon thousands of photos of my kids growing up.
    BTW, if it is essential that you recover as much as possible, consider taking the disk to a data recovery service. Be warned: It's expensive.

  • Error code -50 on boot partition (Mac OS Extended (Journaled) )

    I`m often experiencing error code -50 when trying to change or move files on boot partition (Mac OS Extended (Journaled) ) on my MacBook PRO 5,5.
    I already know that this error is related to MS-DOS formatted disks. But this one is all the time Mac OS Extended (Journaled).
    All the files are created on Mac OS X 10.6.7 - so there can`t be a problem with a filename.
    Is there another solution than corrupted harddisk?

    while the next error code -50, I looked into Console and kernel says: "BootCache: too many history clusters (151, limit 151)". So that`s the cause of error, but how can I manage with it?
    I tried this one in Terminal
    code:
    /usr/sbin/BootCacheControl stop
    but no success. "-BootCacheControl: could not stop cache: Operation not permitted"
    any ideas?

  • Simple UEFI GPT Dual boot with windows 8 boot partition question.

    Hi everyone,
    I think it's obvious from the quuestion that I'm a newbie here (and from the location of the post) but I have read (several times):
    https://wiki.archlinux.org/index.php/UEFI
    https://wiki.archlinux.org/index.php/UEFI_Bootloaders
    and the incredibly helpful:
    https://wiki.archlinux.org/index.php/Beginner%27s_Guide
    along with many forum posts. unfortunately this:
    https://wiki.archlinux.org/index.php/Wi … _Dual_Boot
    appears out of date and so I need to ask you fine people my question.
    If I want to dual boot Arch with my Windows 8 my question is on the boot partition. I have an existing windows EFI boot partition. should I mount this partition to my "/mnt/boot/efi" folder and then copy the files to this partition when I am setting up rEFInd (my chosen bootloader from wiki page, comments/suggestions are welcome) or should I setup a separate boot partition for my arch installation. I assume from reading about rEFInd that the former is how I should do it as this seems to be how refind would be able to "see" my windows bootloader.
    The reason I am double checking and asking here is I know that windows can be a temperamental beast and is very prone to not booting so I don't want to mess with the windows boot partition unduly.
    Thanks in advance guys, looking forward to getting my arch working!
    Last edited by crashandburn4 (2013-03-03 13:42:43)

    $esp = EFI System Partition?
    also, ok, gummiboot, I'm glad I can mount the esp as /boot (that was my original thought but reread the tutorial and wasn't sure) just double checking, it is the esp created by windows 8 that I mount?
    in addition, as I am slightly new to this is there any tutorial that can tell me how to set up gummiboot? I've looked here:
    http://freedesktop.org/wiki/Software/gummiboot
    but don't see anything in the way of detailed instructions.
    from your post: https://bbs.archlinux.org/viewtopic.php?id=159061
    I'm gonna guess it's something like this (please let me know if this is right)
    /mount $ESP /mnt/boot
    pacman -S gummiboot
    (after chrooting)
    //exit chroot
    gummiboot
    *stuff saying gummiboot is not configured*
    gummiboot install
    is it something like that? can anyone point me towards a manual
    Last edited by crashandburn4 (2013-03-03 14:58:53)

  • How do I prevent the Lion boot partition from being reformatted when using boot camp?

    Under Windows 7, Computer Mgt, I shrink the C drive to create another drive.  When I right click on the unused drive to format it, 200MB Lion boot is formatted and assigned a drive letter F.  But I did not tell Windows 7 Computer Management to do that.  I clicked on the unused 170GB space to create it as F, I did not click on the 200MB Lion boot partition at the front of the list.
    Now I have to take the computer back to the Apple store to reinstall Lion for me.
    I tried this twice and it happened twice.  So now I need to go back to the Apple store a second time for help on the same problem.
    Would the 200MB Lion boot disk at the front be safe from reformatting if I first made it drive letter F, and then made the new drive letter H at the right side of the drive list in Computer Management?  Also, there is an unlettered drive between the Lion drive E and the Windows 7 drive C.  Should I make that G prior to formatting drive H?
    By the way, I did this on another MacBook pro that was using Snow Leopard, following the same procedure, and had no problems.  So could a different version of Boot Camp be the issue?

    I just found an older question similar to this one that you also replied to. It was from 2012 and never solved. The only things I am using in my set up is a male quarter inch cable from my guitar to my interface, a USB cable from my interface to my computer, and headphones from my interface to my ears of course. Just like in the other question I found I have everything in the Audio MIDI Setup of the computer set to use the interface as input and output and I also have everything in garage band setup to use the interface as audio input and output. Any new track is recording the metronome and any old track that is being played in the headphones. No external speakers are being used for monitoring and no microphones are being used.

  • Is there a size limit for hard drive boot partition?

    I have been using Drive Genius to adjust the size of my boot partition larger. But it doesn't seem to allow for much increase, even though I deleted the second partition and tried to apply the disk space to DH1: (boot - there is a single partition on the hard drive now.)
    It recognizes only 59.53gb and the drive is I think around 130gb. Anything beyond 59.53 is unusable since I deleted that second partition though I could probably get it back with a second partition.
    Is this a Tiger issue or a Mac issue? It resized it bigger somewhat, so it seems to be something about the particular size. I want a really big space for my applications and so on.
    Thanks. Didn't know where to post this question.

    You don't want to make a disc image. You want to clone to an external drive:
    How to Clone Using Restore Option of Disk Utility
    1. Open Disk Utility from the Utilities folder.
    2. Select the backup or destination volume from the left side list.
    3. Click on the Erase tab in the DU main window. Set the format type to Mac OS Extended (journaled, if available) and click on the Erase button. This step can be skipped if the destination has already been freshly erased.
    4. Click on the Restore tab in the DU main window.
    5. Select the backup or destination volume from the left side list and drag it to the Destination entry field.
    6. Select the startup or source volume from the left side list and drag it to the Source entry field.
    7. Double-check you got it right, then click on the Restore button.
    Once you finish the clone open Startup Disk and set the clone as your startup volume, then click on the Restart button. You should now boot from the clone. You can then repartition the internal hard drive the way you want, then clone the external drive to the internal one.

  • OVM 3.2.1 / OEL 5.6 Template:  How to resize the  /boot partition

    I need to enlarge the /boot partition from its default 100 MB to 300 MB for OEL 5.6.
    I am using OVM_OL5U6_X86_64_PVM_10GB.tgz from Oracle edelivery.
    Examining the modifyjeos manpage there is no function for extending and/or modifying /boot that I can locate unless it is an undocumented feature.
    The way the disk partitions are laid out in the template make it very daunting as well with
    /dev/xvda1 /boot
    /dev/xvda2 /
    /dev/xvda3 swamp
    Perhaps there is an undocumented means via modifyjeos to change the partitioning layout ? or, even better, increase the size of /boot inside the template itself via modifyjeos or some other OVM 3.2.1 and.or OEL 5.X magic
    Thanks
    Mark E. LLoyd
    Data Center Technology
    Accenture

    It's all explained very well, I'm using tftpd64, I keep getting an error from the switch that the tftp server is unreachable and no explanation why this is happening...
    I'm using my computer's wired IP and the full filename, sx300_boot-13506.rfb, and I have the server interface as my computer's wired IP and tftp bound to my computer's wired IP, and no security.
    I keep getting the error that the tftp server is unreachable:
    Bytes Transferred:
    0
    Status:
    Copy failed
    Error Message:
    TFTP server unreachable
    The RAM memory log says things like:
    2147483404
    2014-Feb-04 17:04:57
    Warning
    %COPY-W-TRAP: The copy operation has failed     
    2147483405
    2014-Feb-04 17:04:57
    Notice
    %TFTP-N-TIMERSEND: Session is closed after timeout is expired     
    2147483406
    2014-Feb-04 17:03:42
    Informational
    %COPY-I-FILECPY: Files Copy - source URL tftp://172.16.0.90/sx300_boot-13506.rfb destination URL flash://BOOT     
    2147483407
    2014-Feb-04 16:56:13
    Warning
    %COPY-W-TRAP: The copy operation has failed     
    2147483408
    2014-Feb-04 16:56:13
    Notice
    %TFTP-N-TIMERSEND: Session is closed after timeout is expired     
    2147483409
    2014-Feb-04 16:54:58
    Informational
    %COPY-I-FILECPY: Files Copy - source URL tftp://172.16.0.90/sx300_boot-13506.rfb destination URL flash://BOOT     
    2147483410
    2014-Feb-04 16:51:58
    Warning
    %COPY-W-TRAP: The copy operation has failed, aggregated (1)     
    2147483411
    2014-Feb-04 16:51:58
    Notice
    %TFTP-N-TIMERSEND: Session is closed after timeout is expired, aggregated (1)     
    2147483412
    2014-Feb-04 16:50:43
    Informational
    %COPY-I-FILECPY: Files Copy - source URL tftp://172.16.0.90/sx300_boot-13506.rfb destination URL flash://BOOT, aggregated (1)     
    2147483413
    2014-Feb-04 16:49:07
    Warning
    %COPY-W-TRAP: The copy operation has failed     
    How do I get tftp working properly??
    Thank you, Tom

  • Power outage, boot partition is damaged..what do I do?

    fml..I've had a few power outages before but I think this time did it. I'm running dual boot with both windows 7 and mac with boot camp. I can get to the page where you can select which operating system you want to boot in but once the starting windows page comes up it just freezes and I can't get past it (same for booting in mac, it freezes at the page with the circular loading bar). If I try running with the "windows startup repair mode" a bar loads for a while, then a green bar comes up with the windows logo and then after that it all goes black. So I looked this problem up and I'm assuming that my boot partition is damaged. I have a windows 7 and mac os cd but none of them can load in. Would a usb, external cd drive work?
    I also read online to try using a Linux cd. I have that too, so should I try that?
    And I'm guessing there's no way to save any of my files on the hard drive?

    Interesting problem. It's good you looked up a few things before posting here - if it were me (and I have no direct experience to offer) I'd want to know if everything "looks good" under Disk Utility. That is, boot to your OSX install DVD, select Language, wait for the toolbar to appear and click Utilities then Disk Utility. I'm thinking you will "see" your partition showing your OSX & Windows install. You could check your OSX disk and perhaps "Repair" it. That is one possibility. The Linux idea has potential for Boot To Disk operations - but so does rEFit Boot Disk (see it on Google). It's a lot of learning curve. Your files are still there. You can pay someone to "save" them to storage (both OSX & Windows) or you can download software that also does a great job (the better ones cost money). Finally - remember it is possible on a healthy machine to erase your OSX part (Disk Utility) by itself and perform a fresh install (losing all your OSX data and personal files) without harming the Windows side at all. In your case this is a slight risk and it depends on whether or not everything things still "look good" from the Disk Utility (Boot) as mentioned at the top of this post.
    These are merely ideas to play with that may or may not work. If your recovery is critical, you need better information than what I offer here, but I'm just posting to say you have lots of options. You can explore on your own at a risk, or get someone with real experience and skills.
    I invite others chime in on this one - lots of luck!
    Message was edited by: NA Smith

  • Keyboard in a Windows boot partition.

    I have a windows boot partition.  Can I use my wireless keyboard in this environment?  Is there a place to download drivers or whatever?  Alternatively, is there a USB keyboard or whatever I can buy to work with my iMac in this partition environment?

    Penguin555 wrote:
    Penguin555 wrote:
    where can I get windows 7 keyboard and mouse drivers for bootcamp?
    I have installed Windows 7 in a boot camp partition. I can only use usb keyboard and mouse by booting Windows intyo safe mode, and I am totally unable to use my Apple wireless keyboard and mouse. How do I resolve this?
    I'm running Lion - 10.7.2. Boot Camp Assistant fails to download drivers - that issue has been going on for some time, and has been reported by others as well.
    But that answers your question.  You get the drivers by using BCA to download them.  Your inability to download the drivers is a separate issue than not being able to use your wireless keyboard.
    While some people may have issues downloading the drivers, many others have successfully downloaded the drivers.  I have downloaded them fine on several different Macs.  It may take a long time, depending on the speed of your internet connection.  Mine took over 3 hours.
    Regardless, you need to download the drivers using Boot Camp Assistant.  Try again, and if you still have problems, start a new thread and provide as much details as possible to describe what your seeing so that we don't have to go through this back-and-fourth, and you'll get your answer quicker.

  • Screwed up MBR and boot partition, can't fix it [SOLVED]

    Hi,
    I have been defeated. Been trying to fix my computer the whole day and know I'm lost.
    It's a long story, but my whole system got screwed when I tried installing windows on top of arch (I didn't get it to install, but I don't care anymore).
    I was able to install GRUB2, I tried configuring it with grub.cfg , but when trying to boot it says it's missing kernel, boot partition has linux2.6, and I was using linux 3, I'm not really sure how to get the kernel I was using, should it be in my root partition? .
    I'd like to get my system as it was before, I have root , var and home partitions and not sure how.
    Thanks
    Last edited by exuberant (2011-12-31 10:27:47)

    Thanks for your reply.
    I was using Arch, I last updated a few days ago.
    The kernel that's on the boot partition is from a debian live cd I had laying around.
    It is not possible I have more than one boot partition. I have 1 hard drive, but plenty of free space.
    Windows wanted to use the start of my disk, so I used gparted to move 20 gb free space at the beginning. Creating a partition in the beginning also caused all partitions numbers to move up (sda2->sda3), when I gave up on windows, I tried moving everything forward like it was before, but it didn't work. Then I remembered that when installing grub, installers check for other mount points, but that didn't work, and instead overwrote my boot partition. So know I've got a temporary debian system installed(sda9) and a boot partition that won't boot Arch.
    This is my fdisk output: sda5 is arch sd6 var and sd7 home
    Disk /dev/sda: 160.0 GB, 160041885696 bytes
    255 heads, 63 sectors/track, 19457 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x00000080
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *           1          12       96358+  83  Linux
    /dev/sda2              13         401     3124642+  82  Linux swap / Solaris
    /dev/sda4            2744       14648    95619073    5  Extended
    /dev/sda5            2744        4203    11719680   83  Linux
    /dev/sda6            4239        5212     7815168   83  Linux
    /dev/sda7            5227       10326    40957952   83  Linux
    /dev/sda8           10393       13432    24411136   83  Linux
    /dev/sda9           13432       14648     9764864   83  Linux

  • Seeking to Modify the /boot partition size

    I need to enlarge the /boot partition from its default 100 MB to 300 MB for OEL 5.6.
    I am OVM_OL5U6_X86_64_PVM_10GB.tgz from Oracle edelivery.
    Examining the modifyjeos manpage there is no function for extending and/or modifying /boot that I can locate unless it is an undocumented feature.
    I have located a Brute Force Method (BFM) on the Internet for modifying /boot on a running OS image but I would rather modify the template if at all possible thank you.
    Mark E. LLoyd
    Data Center Technology
    Accenture

    Target DisK Mode may be your best bet.
    Another alternative. Remove the hard drive. Buy one of these hard drive adapters. http://www.ebay.com/itm/USB-2-0-to-IDE-SATA-S-ATA-2-5-3-5-HD-HDD-Adapter-Cable-/ 180550148600?pt=US_Drive_Cables_dapters&hash=item2a09a0a1f8&_requireRaptorProxy= false Then connect the hard drive to another computer.
     Cheers, Tom

  • ZFS boot and other goodies

    Hi everyone,
    With the new funky OS-features in Solaris 10/08, does anyone know if such features are going to get support in the OSP/SUNWjet/N1SPS? ZFS boot would be nice, for a change :)
    I haven't seen any updated versions of the OSP plugin for N1SPS for quite a while now, is it still under development?
    Cheers,
    Ino!~

    Hi Ino,
    as far as I know (and I might be mistaken) OSP is not under any active development and all bare metal OS provisioning activities are now domain of xVM Ops Center, which is built on top of Jet, which does support ZFS root/boot installation already.
    If you want to get hacky, you can replace the SUNWjet package on your Jet server by hand (pkgrm/pkgadd), put there the fresh one and SPS/OSP should happily work with it (read: I have not tested it myself)...
    If you want to get supported, then go the xVM OC 2.0 way...
    HTH,
    Martin

Maybe you are looking for