Grub and uuid for the windows case

I was very glad to discover that it is possible to use uuid's instead of the old (hdx,y) in /boot/grub/menu.lst (as well as in fstab), like this :
title  Arch Linux
uuid 210f9206-0b3d-46a2-80e6-0a8a0856a3a9
kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/210f9206-0b3d-46a2-80e6-0a8a0856a3a9 ro
initrd /boot/kernel26.img
That is because i've a removable ide disk that i use for backup.This wasn't a problem on my old slackware because it was always /dev/hdb, the other resident ide /dev/hda, and the two sata , /dev/sda and /dev/sdb. Now on arch, to my surprise everyone is sd, the first disk is either sdd or sdc (starting from the bottom then), depending on whether the removable disk is on the tray or not, so uuid was more than welcome, since i imagine that the grub (hdx,y) nomenclature  would also get messed up. Problem is, windows entry has this little trick to it, namely
map (hd0) (hd1)
map (hd1) (hd0)
and as far as i could search, there is no way to use uuid for disks, only partitions, since this identifier pertains to file systems, not hardware. So my question is, how can i boot windows in a removable disk situation , that is, how can i write those two lines in a way not affected by the number of disks present ??

I was very glad to discover that it is possible to use uuid's instead of the old (hdx,y) in /boot/grub/menu.lst (as well as in fstab), like this :
title  Arch Linux
uuid 210f9206-0b3d-46a2-80e6-0a8a0856a3a9
kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/210f9206-0b3d-46a2-80e6-0a8a0856a3a9 ro
initrd /boot/kernel26.img
That is because i've a removable ide disk that i use for backup.This wasn't a problem on my old slackware because it was always /dev/hdb, the other resident ide /dev/hda, and the two sata , /dev/sda and /dev/sdb. Now on arch, to my surprise everyone is sd, the first disk is either sdd or sdc (starting from the bottom then), depending on whether the removable disk is on the tray or not, so uuid was more than welcome, since i imagine that the grub (hdx,y) nomenclature  would also get messed up. Problem is, windows entry has this little trick to it, namely
map (hd0) (hd1)
map (hd1) (hd0)
and as far as i could search, there is no way to use uuid for disks, only partitions, since this identifier pertains to file systems, not hardware. So my question is, how can i boot windows in a removable disk situation , that is, how can i write those two lines in a way not affected by the number of disks present ??

Similar Messages

  • I wanted to install windows for Mac and I had vista so I put I the disk and installed it then it  loses my  computer wen I turned it on it went straight to windows and it asked me to install it and put in the windows box code I found out I didn't have Ma.

    I wanted to install windows for Mac and I had vista so I put I the disk and installed  followed the steps it then it  closed my  computer wen I turned it on it went straight to windows and it asked me to install it and put in the windows box code I found out I didn't have it so I wanted to go back to Mac I shut it off and it just goes back to windows and asks me to put the box code how do I get rid of it and go back to Mac because no buttons work at the start and i can't take out the disk !! Help

    The two other posts are correct... so I'll just clarify.  What's happening right now is your system is trying to boot into Windows in order to finish the installation.  What you want to do is make it boot into OS X.  As mende1 indicated, with your system off, hold down the Option key and continue to hold it while you turn the system on.  You will eventually be presented with an option to select which partition you would like to boot from.  Choose OS X.  After you get into OS X, again, as mende1 indicated, change the Startup Disk to OS X.  What this will do is cause your system to automatically boot into OS X when you restart it instead of you having to use the Option key when booting each time.
    Relaunching BootCamp Assistant will allow you to remove your Windows installation and partition. 

  • I have windows 7 64 bit but the new itunes will not install because it can't find itunes64.msi.  I have searxhed evertwhere on my pc. In addition, I can't uninstall the itunes and reinstall for the same reason.

    I have windows 7 64 bit but the new itunes will not install because it can't find itunes64.msi.  I have searched evertwhere on my pc. In addition, I can't uninstall the itunes and reinstall for the same reason. I can't upgrade for my icloud account.

    Try the following steps:
    1. Go to Microsoft website to fix install and Unistall problems. Click "Run now" from Fix it to remove all iTunes & related installer files:
    http://support.microsoft.com/mats/Program_Install_and_Uninstall
    Be aware that Windows Installer CleanUp Utility will not remove the actual program from your computer. However, it will remove the installation files so that you can start the installation, upgrade, or uninstall over.
    2. You should remove all instances of iTunes and the rest of the components listed below:
    it may be necessary to remove all traces of iTunes, QuickTime, and related software components from your computer before reinstalling iTunes.
    Use the Control Panel to uninstall iTunes and related software components in the following order:
    iTunes
    QuickTime
    Apple Software Update
    Apple Mobile Device Support
    Bonjour
    Apple Application Support (iTunes 9 or later)
    Follow the instructions from Apple article listed here: http://support.apple.com/kb/HT1923 to remove all components
    3. Reboot your computer. Next, download iTunes from here:http://www.apple.com/itunes/download/ and install from scratch

  • MAC OS Yosemite - CS6 - A while back, i did something to where when i open a file in photoshop, it no longer is one window, now it's two separete ones. one for the program itself, and another for the actual file how do it get it back to where it's all one

    - A while back, i did something to where when i open a file in photoshop, it no longer is one window, now it's two separete ones. one for the program itself, and another for the actual file how do it get it back to where it's all one window without having to be in full screen mode? I've managed to go some time like this, but right now it's just really annoying me. HELP!!!

    Just drag the small window to the top right below the toolbar, you'll see the area highlighted and when you drop it the file should dock.

  • When I open FF there is no text displaying(menus, content, etc.), and most of the window is blacked out. For example... I can is the the firefox button on the t

    When I open FF there is no text displaying(menus, content, etc.), and most of the window is blacked out. For example... I can see the the firefox button on the top left corner, when I go to it the drop down list drops and there is no text, if I move down the drop down I hit where there is a slide out in that drop down and no text is there. So, to start in safe mode you need to go to the firefox button, and click on start in safe mode. I can't See safe mode or click on anything were safe mode should be.

    hello, close all firefox windows & hold the shift-key while opening firefox in order to launch it in safemode. in the first dialog just choose "continue in safemode" and go to firefox > options > advanced > general. in there disable hardware acceleration, restart firefox normally again and see if this has changed anything.
    also see [[Upgrade your graphics drivers to use hardware acceleration and WebGL]]

  • I just downloaded the updated version of itunes and now I cannot print a playlist for the jewel case.

    I just downloaded the recent version of itunes and now am unable to print a playlist for the jewel case. 

    I just wanted to post that I found my I-pod cache file and deleted it and now synchronization works fine, so no need for anyone to post an answer to this.   Thank you very much.

  • I was trying to change my password and somehow it automatically reset the password for me and I closed the window and now I can't log in. What do I do?

    I was trying to change my password and somehow it automatically reset the password for me and I closed the window and now I can't log in. What do I do?

    HI,
    This post in in iChat (forum) but I have no idea from what you posted if it is about iChat and if so what account type you were changing the password on.
    9:25 PM      Wednesday; June 12, 2013
      iMac 2.5Ghz 5i 2011 (Mountain Lion 10.8.4)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • Can't open the illustration.  There is not enough room for the window.  Increase document area and try again?

    When i double click on a file in AI (CS6) I get the message:  Can't open the illustration.  There is not enough room for the window.  Increase document are and try again

    We can't know. We know nothing about your system nor your documents since you haven't told us.
    Mylenium

  • Since I downloaded the lates version of Itunes, the playlist printing for the CD case is all crunched up.

    Since I downloaded the latest version of Itunes, the playlist printing for the CD case is all crunched up.

    I've been working on this all day!!! I've tried everything I know of and can't get it to load either. Sounds like lots of people are having problems. Here is what I have so far...I have uninstalled EVERYTHING on my pc from apple and reinstalled itunes to no avail. I have tried all sorts of things I've read as fixes online. NOTHING has worked. Here is something interesting that i have noticed though. my main pc (which is the one i have always managed my itunes account with for years) is a 32 bit system running windows 7. Yesterday I installed itunes for the first time on my new netbook which is a 64 bit (windows 7) system and it works just fine. i have three other laptops (all window 7) in my household that are all 64 bit operating systems and ALL have updated to 10.5 and THEY ALL work fine. this is FOUR 64 bit systems ALL updated w/10.5 that work and ONE that is a 32 bit that will not. Can't get any help from apple. their suppot *****! I want to get someone on the **** phone or a live chat but cant. *** APPLE????? please let mw know if you find SOMETHING i can try next. I'm out of ideas and patience!

  • When I try to reset my iPad mini it keeps asking for  a passcode! have tried restoring, connecting to iTunes and looked for the 'set up as new iPad' notification, but nothing is working? can anyone help please?

    I know my passcode is correct but when I try to reset my iPad mini it keeps asking for  a passcode! have tried restoring, connecting to iTunes and looked for the 'set up as new iPad' notification, but nothing is working? can anyone help please?

    If the iPad was running iOS 7,  iCloud: Find My iPhone Activation Lock in iOS 7
    http://support.apple.com/kb/HT5818
    How can I unlock my iPad if I forgot the passcode?
    http://www.everymac.com/systems/apple/ipad/ipad-troubleshooting-repair-faq/ipad- how-to-unlock-open-forgot-code-passcode-password-login.html
    iOS: Device disabled after entering wrong passcode
    http://support.apple.com/kb/ht1212
    How can I unlock my iPad if I forgot the passcode?
    http://tinyurl.com/7ndy8tb
    How to Reset a Forgotten Password for an iOS Device
    http://www.wikihow.com/Reset-a-Forgotten-Password-for-an-iOS-Device
    Using iPhone/iPad Recovery Mode
    http://ipod.about.com/od/iphonetroubleshooting/a/Iphone-Recovery-Mode.htm
    Saw this solution on another post about an iPad in a school environment. Might work on your iPad so you won't lose everything.
    ~~~~~~~~~~~~~
    ‘iPad is disabled’ fix without resetting using iTunes
    Today I met my match with an iPad that had a passcode entered too many times, resulting in it displaying the message ‘iPad is disabled – Connect to iTunes’. This was a student iPad and since they use Notability for most of their work there was a chance that her files were not all backed up to the cloud. I really wanted to just re-activate the iPad instead of totally resetting it back to our default image.
    I reached out to my PLN on Twitter and had some help from a few people through retweets and a couple of clarification tweets. I love that so many are willing to help out so quickly. Through this I also learned that I look like Lt. Riker from Star Trek (thanks @FillineMachine).
    Through some trial and error (and a little sheer luck), I was able to reactivate the iPad without loosing any data. Note, this will only work on the computer it last synced with. Here’s how:
    1. Configurator is useless in reactivating a locked iPad. You will only be able to completely reformat the iPad using Configurator. If that’s ok with you, go for it – otherwise don’t waste your time trying to figure it out.
    2. Open iTunes with the iPad disconnected.
    3. Connect the iPad to the computer and wait for it to show up in the devices section in iTunes.
    4. Click on the iPad name when it appears and you will be given the option to restore a backup or setup as a new iPad (since it is locked).
    5. Click ‘Setup as new iPad’ and then click restore.
    6. The iPad will start backing up before it does the full restore and sync. CANCEL THE BACKUP IMMEDIATELY. You do this by clicking the small x in the status window in iTunes.
    7. When the backup cancels, it immediately starts syncing – cancel this as well using the same small x in the iTunes status window.
    8. The first stage in the restore process unlocks the iPad, you are basically just cancelling out the restore process as soon as it reactivates the iPad.
    If done correctly, you will experience no data loss and the result will be a reactivated iPad. I have now tried this with about 5 iPads that were locked identically by students and each time it worked like a charm.
    ~~~~~~~~~~~~~
    Try it and good luck. You have nothing more to lose if it doesn't work for you.
     Cheers, Tom

  • If I purchase Adobe Creative Cloud for student, can I have the programmes on both my laptop and desktop for the same price?

    If I purchase Adobe Creative Cloud for student, can I have the programmes on both my laptop and desktop for the same price?

    Cloud License allows 2 activations http://www.adobe.com/legal/licenses-terms.html
    -Install on a 2nd computer http://forums.adobe.com/thread/1452292?tstart=0
    -Windows or Mac does not matter... 2 on the same operating system, or 1 on each

  • Hey. I want to install windows 8 32bit on my mac pro (mid 2012). I upgraded the windows 7 I already had, but now I dont have drivers at all... I searched drivers for the windows 8 32 bit but couldn't find any... Any solutions guys?

    Hey everyone, 
    I want to install windows 8 32bit on my mac pro (mid 2012). I upgraded the windows 7 I already had, but now I dont have drivers at all...
    I searched drivers for the windows 8 32 bit but couldn't find any...
    Any solutions guys?
    Thanks a lot.
    Sincerely,
    Chiponn

    There's been an update for OSX ML which addresses the issue for installing Windows 8 on bootcamp.
    It's NOT recommended that you Upgrade.. However, the way to get the drivers is:
    You'll need an external USB drive formatted as FAT for this.
    1) In OSX, start the Bootcamp Assistant
    2) Press Next
    3) UNTICK 'Remove WIndows 7 or Later Version'
    4) TICK Download the Latest Windows Support Software from Apple
    5) Insert USB drive
    6) Press CONTINUE
    The drivers should download, and copy a WIndowsSupport folder onto the USB drive.
    I did notice that Windows 8 still requires beta drivers for some aspects such as VGA (the Radio HD Card), which you can get on the AMD website.
    Futhermore, why are you using Windows 8 "32" bit when you blatently have a powerful 64bit?
    Anyway, hope this post helps ;-)

  • Can´t access my files on Creative Cloud. "Page temporarily unavailable. We will return soon." "We are working quickly to resolve the problem and apologize for the delay. Check back later or visit our website for status updates. In addition, you can get he

    Hello,
    For a few days I have been trying to access my files on Creative Cloud web without success. I´ve got this message only:
    "Page temporarily unavailable. We will return soon."
    "We are working quickly to resolve the problem and apologize for the delay.
    Check back later or visit our website for status updates.
    In addition, you can get help in the forums of the Creative Cloud.
    Thank you for understanding!"
    (I used Google Translate)
    Somebody help?

    You do not need ?&promoid=KRUVP at the end of the url but it should not matter.
    One thing to check is if your hosts file is modified. Open the Command Prompt and type: notepad %systemroot%\system32\drivers\etc\hosts
    This will open a read-only copy of your host file in Notepad. Are there any entries in this file regarding adobe.com?
    The other thing you can do is open the Developer Tools in the Chrome browser. On Windows press Ctrl + Shift to open them. Switch to the Network tab. Reload the page by pressing Ctrl + r. Check for any 4xx or 5xx errors which should be colored red.
    Post screenshots of your results or send me a private forum message with the information.

  • I have just upgraded to Mountain Lion and my signatures for my Mail is not showing up. I have the signatures inthe preference panes and selected for the email address, but when I make a new message, the signature shows as none and doesn't give me a choice

    I have just upgraded to Mountain Lion and my signatures for my Mail are not showing up. I have the signatures inthe preference panes and selected for the email address, but when I make a new message, the signature shows as none and doesn't give me a choice. Yesterday, the signatures were stacking instead of switching to the one I wanted to choose.

    I had this and fixed it.
    I had upgraded to Mountain Lion and my signatures in Mail were fine. But then about a week later, I got a new computer and used Migration Assistant to copy my stuff to the new machine. Upon opening Mail, I had all the correct Signature information in the Preferences>Signatures window, but nothing worked.
    After lots of hunting, I found the Signature Folder. It's in:
    Yourusername>Library>Mail>V2>MailData>Signatures
    Looking at my previous setup (which works) I saw in that folder two types of files: .webarchive and .siganture
    Looking in my new machine's Signature folder, I saw only the .webarchive folders, not the .signature folders
    Since this was literally a clone of my previous setup to a new machine, here's what I did:
    1. Quit Mail
    2. In Problem machine, go to
    Yourusername>Library>Mail>V2>MailData>Signatures
    3. Move the Signatures folder someplace safe, but out of the MailData folder
    4. Get the Signatures Folder from the working install (like a backup) and copy it to the MailData folder on the problematic machine
    5. Start Mail on the problem machine
    This worked for me. I don't know why Migration Assistant didn't copy the full signature folder, but this fixed it. It worked perfectly partly because I had just backed up with Carbon Copy Cloner and the very next day set up the new machine. I don't know where Lion or earlier versions of mail stored signatures, but the absence of the .signature filetype seems to be the problem.
    Hope this helps

  • Enter your name and password for the server when trying to connect PC and Mac?

    I'm trying to connect my iMac and my WIndows tablet (got it for free) together through my home network.  I open iPhoto, then "Import to Library" ; the connection fails and when I click on "Connect as" up pops this box asking me to "enter your name and password for the server -computer name here-". HELP!!  Where do I find the password?  I've tried everything possible and no go.
    I am running Windows 8 and Lion.

    Hi Tom! Welcome to the Apple discussions. You have posted in the forum dedicated to the application Appleworks. Your question is better to post in the forum for MacOs 10.6. In that forum you have several sub-forums to choose from.

Maybe you are looking for