General :: Filesystems - Format Does A Partition Have To Be In Order To Boot Off Of It?
Sep 19, 2011
I am using disk utility to partition an external hard disk. My intention is to boot linux off of the partition. However, I am unsure of which format to make the partition. Disk Utility in OS X only allows Mac OS X Journaled, Mac OS X, FAT, exFAT, and free space. Which one should I use?
I recently installed Ubuntu on one of my partitoins. Sinec I am new, I formatted that partition to install a different type. Now when I boot my machine, instead of booting to my Windows partitoin, it boots to my blank Linux partition and gives me a Linux prompt.
I can boot from the Ubuntu DVD, by changing it in my BIOS, but I can't change the boot partition order within Linux (that I know of).
how do i format a hard drive in order to install linux,The following errors are displayed during installation:"VolGroup01" not found followed by could not find filesystem '/dev/root
It seemed that it would be simple enough: take the 'f' option in the expert menu of fdisk to put partitions in order after a gap had been created by a deleted partition and then make corresponding changes in /boot/grub/grub.conf because the root partition was shifted.
Well, it didn't work out that way. No matter what I try, I either see the error 15 at Stage1.5 or the error 28, which is even stranger (file does not fit into memory). All this before I even see a grub menu. It just does not get that far.
Does anyone want to take as stab at guessing what might have happened here and whether I have a chance at recovering without having to reinstall? I can provide concrete data, if anyone would be kind to give it a try. Hoping that this is a known problem and something can be guessed from what I stated here but I can be as specific as needed, just don't want to generate noise if there are no takers.
I need to change my LUKS partition to NTFS as I do not need the boot partition any longer, but I need to keep sdb3 (truecrypted ext3) intact. This is how the disk looks now:
Code:
Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes
I am working on another's Dell Inspiron 530 with Vista 64-bit; see below:
[code]....
wanting a dual-boot, 500GB hdd was formatted as above, Win Vista x64 Recovery CD was created, and antiX-M11 (as Swift Linux 0_1_1) installed. Now, at startup, machine boots to antiX and not Vista. User wants it the other way around. I think I should have reordered the partitions and not installed GRUB in MBR. EasyBCD is the preferred boot loader for User. This is a learning experience but due to time constraints and not being at my home where references are available, EasyBCD is on a USB stick -- should I boot to the Vista Recovery CD and then try to install EasyBCD to sda3 from it, uninstall antiX (but this will not fix the MBR problem, will it?), or edit fstab or what
My new Debian box is running well and stable enough for me to decide to swipe out WindowsXP altogether. I have a 40GB HDD, which has the following partition scheme (after Windows was removed and hda1 was converted to Linux native type)
Code: Device Boot Start End Blocks Id System /dev/hda1 * 1 1762 13313159+ 83 Linux /dev/hda2 1762 5168 25756889 f W95 Ext'd (LBA) /dev/hda5 1762 3985 16813408+ b W95 FAT32 /dev/hda6 * 3986 5018 7809448+ 83 Linux /dev/hda7 5019 5168 1133968+ 82 Linux swap / Solaris
As you can see, my Linux is in the 2nd logical partition hda6 which contained in the extended hda2. The 1st logical partion hda5 is the one I want to erase the data and convert to Linux filesystem in order to have more space. (Yes I can mount it ntfs-3g and use it without any problem, but I just want to say farewell to as many things Microsoft as possible) . What I'm worried about is whether it's safe to do that, without damaging the extented partition which contains the root file system for Debian.
How can I change default boot order in Ubuntu 10.04 from Ubuntu to Windows7? However, I already checked sudo gedit /etc/default/grub and modify the grub file to be GRUB_DEFAULT=4 and update the grup sudo update-grub I even install graph software to re order the book sudo startupmanager But still after restart the default choose for boot is Ubuntu ...
P.S: I am using Ubuntu 10.04 with grub version 1.98
I just installed Ubuntu 10.04 onto my toshiba C655 iCeleron 900 2.20ghz 1GB RAM. I have win7 and I have a 4GB swap partition. How Do I change the Boot order in Grub? I saw instructions somewhere else to type sudo, etc in the command line and was getting access denies...
I'm working with an employer as part of a college internship. I work on anyone's computer that brings it in. Some lady brought in a macintosh. I'm not here to give my opinion on evil, controlling corporations, but I can't figure out how to get the thing to change boot order.
It has an old and unsupported version of OSX, it's "panther" and I can't even install any firefox after 2.0. It has 256mb ram and a 1.8ghz single core so I thought to dual boot it with debian.
-Tried holding "C" -Tried holding "option key" (alt) -Tried holding command (windows) + option + shift + delete -Went into system prefs and chose "startup disk" but it doesn't list the CD drive at all.
The bios, or whatever it is, is completely blank at startup besides an apple logo.
I'm working my way through my Linux self-education and I'm hitting a slight road block. After consulting forum posts here and elsewhere, I have tried to alter my grub boot order by editing my menu.lst file found in /boot/grub. I don't seem to be having any luck. Changing the default [value] doesn't seem to work, nor does the savedefault. Below is a copy of my file.
Code: # menu.lst - See: grub(8), info grub, update-grub(8) # grub-install(8), grub-floppy(8), # grub-md5-crypt, /usr/share/doc/grub # and /usr/share/doc/grub-doc/.
default 4 # Set the default entry to the entry number NUM. Numbering starts from 0, and # the entry number 0 is the default if the command is not used. # You can specify 'saved' instead of a number. In this case, the default entry # is the entry saved with the command 'savedefault'. # WARNING: If you are using dmraid do not use 'savedefault' or your # array will desync and will not let you boot your system. default0
## timeout sec # Set a timeout, in SEC seconds, before automatically booting the default entry # (normally the first entry defined). timeout10 ## hiddenmenu # Hides the menu by default (press ESC to see the menu) #hiddenmenu
# Pretty colours #color cyan/blue white/blue ## password ['--md5'] passwd # If used in the first section of a menu file, disable all interactive editing # control (menu entry editor and command-line) and entries protected by the # command 'lock' # e.g. password topsecret # password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/ # password topsecret # examples
# titleWindows 95/98/NT/2000 # root(hd0,0) # makeactive # chainloader+1 # titleLinux # root(hd0,1) # kernel/vmlinuz root=/dev/hda2 ro # Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST ### BEGIN AUTOMAGIC KERNELS LIST ## lines between the AUTOMAGIC KERNELS LIST markers will be modified ## by the debian update-grub script except for the default options below ## DO NOT UNCOMMENT THEM, Just edit them to your needs
## ## Start Default Options ## ## default kernel options ## default kernel options for automagic boot options ## If you want special options for specific kernels use kopt_x_y_z ## where x.y.z is kernel version. Minor versions can be omitted. ## e.g. kopt=root=/dev/hda1 ro ## kopt_2_6_8=root=/dev/hdc1 ro ## kopt_2_6_8_2_686=root=/dev/hdc2 ro # kopt=root=UUID=18250e14-e47e-4bf9-a927-6456120575f8 ro ## default grub root device ## e.g. groot=(hd0,0) # groot=18250e14-e47e-4bf9-a927-6456120575f8
## should update-grub create alternative automagic boot options ## e.g. alternative=true ## alternative=false # alternative=true ## should update-grub lock alternative automagic boot options ## e.g. lockalternative=true ## lockalternative=false # lockalternative=false
## additional options to use with the default boot option, but not with the ## alternatives ## e.g. defoptions=vga=0x317 resume=/dev/hda5 # defoptions=vga=0x317 ## should update-grub lock old automagic boot options ## e.g. lockold=false ## lockold=true # lockold=false ## Xen hypervisor options to use with the default Xen boot option # xenhopt=
## Xen Linux kernel options to use with the default Xen boot option # xenkopt=console=tty0 ## altoption boot targets option ## multiple altoptions lines are allowed ## e.g. altoptions=(extra menu suffix) extra boot options ## altoptions=(recovery) single # altoptions=(recovery mode) single
## controls how many kernels should be put into the menu.lst ## only counts the first occurence of a kernel, not the ## alternative kernel options ## e.g. howmany=all ## howmany=7 # howmany=all ## should update-grub create memtest86 boot option ## e.g. memtest86=true ## memtest86=false # memtest86=true
## should update-grub adjust the value of the default booted system ## can be true or false # updatedefaultentry=false ## should update-grub add savedefault to the default options ## can be true or false # savedefault=false ## ## End Default Options ## splashimage=18250e14-e47e-4bf9-a927-6456120575f8/boot/grub/splash.xpm.gz
titleBackTrack 4 R2, memtest86+ uuid18250e14-e47e-4bf9-a927-6456120575f8 kernel/boot/memtest86+.bin quiet ### END DEBIAN AUTOMAGIC KERNELS LIST # This is a divider, added to separate the menu items below from the Debian # ones. titleOther operating systems: root
# This entry automatically added by the Debian installer for a non-linux OS # on /dev/sda1 titleWindows Vista/Longhorn (loader) root(hd0,0) savedefault makeactive chainloader+1
I am trying to create a multi-partition USB key to use to kick multiple OS's whenever I need (1 NTFS partition for Windows image and data storage, one ext3 for boot, another ext3 for Linux distros iso storage and the last one as a Fedora live usb with permanent storage).
I am using a Kingston Data Traveler G2 16GB usb key and I have absolutely no problem to create the partitions and all looks fine. The problem I encounter is that although I can format the 1st partition on the usd key to any fs I want, I am unable to do the same on the other partitions. I tried fdisk+mkfs.XXX (ext2, ext3, fat, vfat, ntfs) and gparted, and no luck.
mkfs.XXX gives me no errors when I run it but when I try to mount the partition in Fedora 14 the OS is unable detect the fs. Gparted allows me to format the fs, gives no errors, shows a format successful message, but when it re-scans the device the fs appears as unknown.
I know it is possible to do this as I had a DataTraveler 101 16GB and it was working fine until I lost it.
I'm working on Linux OS (Suse/redhat) and trying to format a linux partition from a c program. Is there a way to do this without using : 'system ("mkfs.ext4 /dev/sdxy")'
I am a linux noob and that is the reason I want to boot my windows xp by default. Now kubuntu boots first. I've googled how to do this but the topics of other people with the same 'problem' were old or maybe incorrect. Because the official GRUB Ubuntu wiki says you should not change the /boot/grub/grub.cfg file manually. The first line on the .cfg file is also a warning: Do not edit this file. So it continued looking for a proper way to change the boot order. Then I found something about etc/grub.d and also etc/default/grub. The problem is I don't understand how to change the boot order using this.
I clone an drive with CentOs 5.3 from a drive connected to ATA0 device 0 of an ATA controller to an identical drive connected to the same ATA contoller ATA1 device 0. No matter what I do it boots from ATA1 device 0 and I need to be able to control which one it is booted from. When I have puppy linux on one drive and CentOs on the other drive I can control the boot thru the system BIOS either way no matter if puppy is in ATA 0 or 1. So its not a BIOS issue. It appears (to me) to be a grub configuration issue. Since the 2 drives are clones they both have VolGroup00. I think grub loads from the last VolGroup00 found.
Here is my grub.conf file: # grub.conf generated by anaconda # Note that you do not have to rerun grub after making changes to this file # NOTICE: You have a /boot partition. This means that # all kernel and initrd paths are relative to /boot/, eg. # root (hd0,0) # kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00 # initrd /initrd-version.img # boot=/dev/hde default=0 timeout=5 splashimage=(hd0,0)/grub/splash.xpm.gz hiddenmenu title CentOS (2.6.18-128.el5) root (hd0,0) kernel /vmlinuz-2.6.18-128.el5 ro root=/dev/VolGroup00/LogVol00 initrd /initrd-2.6.18-128.el5.img
Here is the Device.map: # this device map was generated by anaconda (hd0) /dev/hde
I have a dual-boot setup in which Ubuntu 10 LTS is the default choice on the menu, followed by 2 or 3 alternate choices and finally Win 7. I would like to know how to change that order, making Win 7 the default. Solutions I've looked at mention editing menu.lst in the /boot/grub directory, but this file does not exist anywhere as far as I can tell. There is a /boot/grub/grub.cfg but it's unclear how that alters the menu sequence.
What are others' views and experience regarding automatically checking filesystems (running fsck) at boot time?To be more clear, I have left the ext3 filesystems on this machine set to require checking after a fixed number of mounts by using tune2fs with the '-c' option. I've done this mainly because of the following (from the tune2fs man page):
Code:Youshould strongly consider the consequences of disabling mount-count-dependentchecking entirely. Bad disk drives, cables, memory, and kernel bugs could all corrupta filesystem without marking the filesystem dirty or in error.e using journalingon your filesystem, your filesystem will never be marked dirty, so it will not normallybe checked. A filesystem error detected by the kernel will still force an fsck on the nextreboot, but it may already be too late to prevent data loss at that pointBut what does anyone else do? Is there really much risk to disabling this automatic checking
When I go to 'Places' on my panel, my windows drives are listed. I can click on one, it then asks me for password, then it puts a hard drive icon on my desktop. This is excellent.They are listed as '200 GB Filesystem' etc.My only problem, is how to make these icons stay after I shut down. I don't want to do this every time I boot up.
I used a Kingston 8Gb flash drive as a live usb recently (copied the live iso image over using dd). I am done with the installations and all but seem to have a problem. i cannot format my flash drive. It now shows as a live CD (800 or so mb). Is there a way to fix the partition table back? I guess if i copy a partition table image from some other 8 gb drive that might fix the problem but i dont have any other flash drives. Is there a solution possible or am i stuck with a live usb forever
I have 4 VMs on a Linux host, call them A, B, C, D running on Z. I really don't care when A and B come up, but I would like to make sure that D comes up before C.I believe that in VMWare 2.x it's possible to change the boot order. Is this possible in 1.x as well? Is this done in /etc/vmware/vm-list? I see that there are a number of VMs listed there, including some that have long since been deleted.
It's quite easy to change the default boot entry through etc/default/grub. However, this only allows for the first entry to be changed. I want to be able to move all the entries in any order I like. What is the best/easiest way to do this?
I have Ubuntu 9.10 64 Bit, and I also have Windows 7, and I want to make Win7 boot first and without having to manually choose it every time I restart, for my non-linux using family. I have tried the guides where it says you have to edit the "menu.lfg(or whatever it is)" and I don't have that file. I have looked, it's not there, the closest I found was "grub.cfg" and I can't make any sense out of it. I'm not unfamiliar with computers, I'm just relatively new to Ubuntu, and want to make the best out of it I can, I love it. I've tried going into GRUB, and and editing the Win7 Loader, but it doesn't work.
Is there some workaround by changing grub settings other than rewiring the hard disks or changing in bios.. 1. my bios is getting reset (low battery) 2. my hard disks are sata and ide, so the ide one is loaded as hd1 by default, cudn't find any way to change that..
I wanted to delete the Snow Leopard partition and format the Swap Disk partition to something else. exFat was causing major file size bloat on small files. QT sdk bloated to like 11 gigs or something ridiculous like that. Anyways, I loaded up an Ubuntu 10.04 LTS live cd and gparted then deleted the Snow Leopard partition. Gparted said "Mission Accomplished" and tried to rescan the drive, but never found it. At this point I restarted the computer, a dell laptop, which didn't boot with an unable to find a bootable device error. The ubuntu live cd doesn't see the drive anymore. gparted scans for drives indefinitely and fdisk -l has no output.
i have instaled ubuntu 11.04 wubi on my pc with windows 7. i installed and everything was going ok i navigate on ubuntu already. but the problems star here i went on my ubuntu to the partition section and i format my windows partion to be the home partion and changed the nfts to ext, i did the upgrades but i forgot that theyr running yet and i restart my computer when it boot again it gaves me an error:
try (0,0) : nfts5 : wubildr try (0,1) : ext2 :
and the windows7 says that i have to instal again. so i went to another pc and i made a cd boot and a pen boot. i burned the iso (downloaded from the ubuntu oficial site the 11.04 32 bit version) image to the cd and pen drive prperly, i adjust my boot options to star from usb or cd rom and nothing im struck.
I'm using Fedora 12 on my Thinkpad X200 and had no major problems since Installation of the Release Candidate. Unfortunately, since a week Fedora makes trouble when booting:
The system boots some times without any problems, some other times it hangs in the following way:
Code: Gdracut: Mounted root filesystem /dev/sda1 dracut: Switching root Welcome to ^[[0;34mFedora Press 'I' to enter interactive startup
So I tried adding a new, 2nd hard drive to my Ubuntu 9.04 desktop for some additional storage and only managed to kill my system so that it won't boot up anymore (I just get a blinking cursor after the BIOS does its thing).I could sure use a little help getting back to a functioning system, and then adding the second drive. I tried following the instructions from this link to add the 2nd drive:
(So the forum rules won't let me post the link, neato. Here it is with spaces added): h t t p s : / / h e l p . u b u n t u . c o m / c o m m u n i t y / I n s t a l l i n g A N e w H a r d D r i v e