Boot partition wiped out - how to recreate grub's files [SOLVED]

Boot partition got wiped out on my system. 
/dev/sda1 #root
/dev/sda2 #boot
/dev/sda3 #swap
/dev/sda4 #home
I'm in an ubuntu live CD and doing this via VNC.  I am chrooted into /dev/sda1 (arch) and I have mounted /boot and regenerated the kernel images.  There is a /boot/grub/menu.lst and a /boot/grub/system.map but that's it.  If I look at my functional system (another pc) I see a ton of extra grub files:
$ ls /boot/grub
fat_stage1_5 stage1 xfs_stage1_5
ffs_stage1_5 minix_stage1_5 stage2
default iso9660_stage1_5 more.lst stage2_eltorito
device.map jfs_stage1_5 reiserfs_stage1_5 ufs2_stage1_5
e2fs_stage1_5 menu.lst splash.xpm.gz vstafs_stage1_5
How can I get them back?  I thought that a pacman -S grub would do it, but nothing...??
Last edited by graysky (2010-05-16 16:51:10)

*!@*  I must have read that page 3 times over and missed that 3 times over.  Thank you!
EDIT: made the wiki article a little more obvious!
Last edited by graysky (2010-05-16 16:55:41)

Similar Messages

  • All my contacts are wiped out, how do I get them back??

    All my contacts are wiped out, how do I get them back? I tried to reboot my phone by turning it completely off and on again and that didn't help. I tried syncing to the compluter on itunes and that didn't help, and I tried calling AT&T and that didn't help. They said to make an appt. with Apple and hopefully they could help. They also said that 3 other people came in their store with the same issue this week. If someone out there knows how I could get contacts back on my phone please let me know. Thanks.

    There are no contacts on or in iTunes. iTunes does not store contacts. iTunes can serve as the sync conduit to sync contacts between your iPhone and a supported address book app on your computer. This is selected under the Info tab for your iPhone sync preferences with iTunes.
    Certainly you don't depend on an iPhone or any cell phone alone for such important data which can be lost or stolen, damaged beyond repair, or there can be a hardware or software problem preventing access to the contacts.
    Windoze or Mac?
    Your contacts are not available anywhere on your computer?

  • I want to upload my resume which i have on pages. the "choose file" to upload is grayed out. how do i choose a file?

    i want to upload my resume which i have on pages. the "choose file" to upload is grayed out. how do i choose a file?

    Safari on iPads has no facility to upload files to web sites. You need to use an app made specific for that site or use a computer.

  • How to recreate the control files

    Can someone tell me how to recreate the control file?
    Thanks in advance
    Himanshu

    Hi, You can use the following statement.
    CREATE CONTROLFILE
    SET DATABASE prod
    LOGFILE GROUP 1 ('/u01/oracle/prod/redo01_01.log',
    '/u01/oracle/prod/redo01_02.log'),
    GROUP 2 ('/u01/oracle/prod/redo02_01.log',
    '/u01/oracle/prod/redo02_02.log'),
    GROUP 3 ('/u01/oracle/prod/redo03_01.log',
    '/u01/oracle/prod/redo03_02.log')
    NORESETLOGS
    DATAFILE '/u01/oracle/prod/system01.dbf' SIZE 3M,
    '/u01/oracle/prod/rbs01.dbs' SIZE 5M,
    '/u01/oracle/prod/users01.dbs' SIZE 5M,
    '/u01/oracle/prod/temp01.dbs' SIZE 5M
    MAXLOGFILES 50
    MAXLOGMEMBERS 3
    MAXLOGHISTORY 400
    MAXDATAFILES 200
    MAXINSTANCES 6
    ARCHIVELOG;
    Thanks

  • HT201250 How do I restore photos from Time Machine?  All of my photos have been imported within iPhoto and therefore are exported to Time Machine via an iPhoto file.  I can't figure out how to break individual photo files out of the iPhoto file.  Any idea

    How do I restore photos from Time Machine?  All of my photos have been imported within iPhoto and therefore are exported to Time Machine via an iPhoto file.  I can't figure out how to break individual photo files out of the iPhoto file.  Any ideas?

    You might post this query on the iPhoto forum and perhaps someone there can provide an answer.
    I tried this on my MBP and it seems that you have to restore the entire iPhoto Library.  What I did was put the current library in a separate folder on the desktop and then I restored the library from a prior date.  If you were to do that, you then could extract the desired photos and then delete the restored library.  Then place the current library back to the original location and import the desired photos.
    Not tidy but it seems it will work.
    Ciao.

  • My ipod has nothing on it it was wiped out how do i fix it

    my Ipod was wiped out nothing on hard drive at all how do i get a operating system back on it
    <Edited by Host>

    Connect in recovery mode to restore:
    iOS: Unable to update or restore

  • IMac and iPad sync with cloud no problems, iTouch with OSi4.2.1 is now wiped out, how do I sync contacts and mail?

    I am not a happy mac user at the moment.  I have a new ipad OSi 5.0 works fine with my two Lion systems.  I have an iPod touch with OSi 4.2.1 I was trying to sync my calender, mail and contacts.  It did the mail and calender but it wiped out my contacts.  I not only want them back, I want them synced with the other systems.  I should not have to buy a new touch to get this to work!
    I would be happy to upgrade the OSi if it was an option!

    You can't actually delete an iCloud account but you can remove it by signing out at System Preferences>iCloud if it is the promary account, or in Mail, Contacts & Calendars if the secondary, and then juste ignore it.
    The Blackeberry can only sync with data held under 'On My Mac'. iCloud can only sync with data under 'iCloud'.
    When you set up iCloud your calendars and contacts were moved to the iCloud server. If you want to use Blackberry you will have to move them back to 'On My Mac' and not sync with iCloud: it's one or the other.
    To move calendars, follow the second set of numbered instructions here:
    http://www.wilmut.webspace.virginmedia.com/notes/icloudmovecalendars.html
    To move contacts, File>Export as vCard when you have selected all your contacts, then delete the contacts under iCloud, make 'On My Mac' the default and reimport the vCard.

  • Itunes 11.1.5 crash, wiped out library and now not opening files

    Itunes 11.1.5 crashed on my Mac OSX 7.5, wiping out my Itunes library and playlists. I have the albums on my hard drive but can't even open them with Itunes now (I can open them with other programs). I've tried redownloading Itunes thinking that somehow the program was damaged, but same problem with the fresh download. I have my playlists etc on my Ipod but don't want to do connect it until I'm sure that Itunes is functioning correctly- am reluctant to risk losing the data on my Ipod too.
    What's wrong with Itunes that I can't open or add any files? And once that is fixed, is there any way of recovering my past library and playlists? Or if not, how do I safely transfer my Ipod's data to Itunes? It is not all Itunes purchases.

    Okay, an update. Weird. I tried importing a cd into Itunes, and not only did that work, but when it was completed all the music from my hard drive's Itunes media library appeared in Itunes too. Not the playlists, but at least the albums. Odd, since for hours this morning I couldn't import even a single song. Assuming I have to manually recreate the playlists, that there's no easy way to recover those. At least Itunes appears to otherwise be functioning tho.

  • With the new update, I can't figure out how to merge duplicate "Faces" files together, so I end up with one location per face.

    With the newest update, I can't figure out how to merge duplicate files in "Faces" (iPhoto).  I have more than one file going for a face, and use to be able to click and drag them into merging.  Can't seem to do it now.  Can anyone please help?  Thanks

    Are you talking about iPhoto or Photos? If Photos, do you mean that Photos has several files for the same person but they are labeled differently and you are trying to merge them as one? If so, then you have to rename one of the files to match the other one with the correct name.  If this is not what you mean then could you explain more clearly what you mean. To give an example if I click on Faces and Photos shows me all named faces in the top and on the bottom there are suggested faces that can be dragged onto a face in the top level to merge.  If you try to merge two face groups in the top level that are the same person but for some reason the faces are labeled differently you have to label them with the name you want to use and then they will automatically merge.

  • PC hard drive wiped out, how do I transfer to new one?

    Our home PC (running Windows XP) had to have it's hard drive replaced, therefore I lost everything I had on itunes (I know, I know, I should have had it all backed up!). I spoke to a great guy on the helpline, who told me how to at least get all my purchased back on once I'd reinstalled itunes, but not all my purchases were put back on, including songs and some movies.
    First question: How do I solve this? I obviously don't want to have to purchase the missing items again.
    Second question: The very helpful itunes guy on the phone prompted me through the steps to get my purchased music off my ipod, which I vaguely remember how to do, but can someone please remind me?! I have changed itunes on the PC to manually manage, so my ipod doesn't get wiped when I plug it in.
    Third question: I now have a laptop (running Windows Vista) and have installed itunes on it, but I would like to use this now as my main 'computer' as it were, instead of the PC. Can anyone tell me how to go about this? I'm frightened of plugging in my ipod and wiping everything off!
    If anyone can help I will be eternally grateful!!! Thanks!

    Please take a look at this forum this will help your case.http://discussions.apple.com/thread.jspa?messageID=12115655#12115655

  • Harddrive was wiped out, how do I restore my iPhoto pics?

    My harddrive started acting up a few weeks ago, took my MacBook Pro into get looked at, I'm out of warranty, so they rebooted the harddrive. How do I restore my iPhoto pictures? There are tons of pics that strictly went to iphoto and now I have nothing.

    so they rebooted the harddrive.
    Do you mean, the hard drive was replaced by a new drive? Then you need to restore your iPhoto Library from your backup copy of your computer. The iPhoto Library is by default in the folder "Pictures" in your homefolder. You will recognize it by the "fan of Pictures" icon.

  • Laptop crashed, iTunes music wiped out, how do I get music out of iPhone to my computer?

    May I know whether it is possible to transfer my songs out of my iPhone music library to my computer or my new iTunes? The music files which i lost were mostly on soft copy.
    Is it also possible to sync my iPhone to a new empty iTunes without losing my music files?
    Thank you!

    Use the backup of the computer to put everything back.
    Syncing is one way, computer to iDevice.
    If for some silly reason you have chosen to not backup your important media and data, iTunes purchases can be transfered from the device or redownloaded from iTunes.
    Google is your friend to find instructions.

  • Dual boot windows 7+archlinux on separate disks; grub errors. [solved]

    Hello,
    I am very excited to try arch linux, but am having trouble with the
    installation.  My situation is as follows:  I have 3 hard drives: windows 7
    lives on sda and sdb.  I am installing arch on sdc, which is 500GB.
    I partitioned the hard drive as follows (which may look kind of ridiculous,
    but please understand I am new at this):
    sdc1    /boot    1GB    ext2
    sdc2    swap    8GB     swap
    sdc3    /       50GB    ext3
    sdc4    /home   400+GB  ext3
    After some initial issues, I managed to run the installation program
    smoothly, performed the basic configuration, and then went to install grub. I
    scrutinized the grub menu.lst file over and over, and could not find anything
    wrong.  It had the following entry for archlinux:
    title: Arch Linux
    root: (hd2,0)
    kernel: /vmlinuz26 root=/dev/sdc3 ro
    initrd: /kernel26.img
    There is no entry for windows, as I can just use the BIOS boot menu to switch
    between the two bootable hard disks, or at least that was my plan...
    When I boot to windows, everything works just fine.  When I go to the
    BIOS boot menu and choose to boot from the third disk, I get the grub
    bootloader with choices of arch and arch fallback, just as expected. 
    I select the former, and I get the following message from grub:
    Booting 'Arch Linux'
    root    hd(2,0)
    Filesystem type unknown, partition type 0x7
    kernel /vmlinuz26 root=/dev/sdc3 ro
    Error17: cannot mount selected partition
    The same thing happens for the fallback image.  I made very sure to install
    grub to the mbr, /dev/sdc.
    I have also tried to use the UUID entry for /root in the menu.lst file, and
    this gives the exact same results.  I have also run grub interactively from
    the bootable CD image, and it does not give such errors-  it knows that
    hd(2,0) has type 82, and not 7.  However, when I try the initrd command in
    interactive grub, I get a complaint about the image not fitting in memory.
    However, I have 16GB of ram...
    One other note that may be (but probably is not) relevant:  initially I could
    not get the Arch disk to recognize the hard drive (the format disk phase of
    installation would always fail), so from windows, I went to the disk manager
    and formatted it with ntfs.  This enabled me to format the disk from the arch
    install process and install the new FS.  I didn't think the temporary presence
    of ntfs would be any kind of an issue since I immediately reformatted it.
    Many thanks for your time reading this.  Much appreciated.
    Last edited by wes (2011-03-07 21:24:44)

    I guess here:
    https://wiki.archlinux.org/index.php/Be … Bootloader
    or here
    https://wiki.archlinux.org/index.php/Wi … ard_Drives
    would be sensible places, but as a complete rookie, I don't feel qualified to start editing the wiki...

  • Can't figure out how to read from .txt file...

    It looks so simple:
    I have a txt file with one line in it:
    1038It is actually a highscore for a little game. But how do get this out of the file into an int?
    Thank you.

    this reads out a complete text file:
    try
    FileInputStream fis = new FileInputStream(fileName);
    BufferedInputStream bis = new BufferedInputStream(fis);
    DataInputStream dis = new DataInputStream(bis);
    String tmp = "";
    while ( dis.available() > 0 ) { tmp += dis.readLine() + "\n"; }
    dis.close();
    bis.close();
    fis.close();
    } catch (Exception e) { e.printStackTrace(); }
    if you want to convert string to int use
    int i = Integer.parseInt( String );

  • How to recreate analytics.ear file - One BI Server,2 rpds, 2 Presen servers

    Hi
    I am trying to launch 2 rpds, 2 presentation servers on One BI Server in windows environment.
    1. Scaled out BI Presentation Servers Vertically.
    2. Created seperate DSN's for each rpd
    3. Created two seperate webcatalogs with different paths to point to each presentation server directories.
    4. Created two seperate instanceconfig.xml files with different Catalog paths
    5. Configured nqsconfig.ini with two rpds
    6. Configure and deploy analytics.ear/analytics.war files with two different ports and different names...
    The issue is i unpacked the analytics.ear file and analytics.war file using 7zip and changed the ports i wanted to compress them back to create analytics2.ear and analytics2.war. How do i create analytics2.ear. I created using 7zip but while deploying the file i get error 'error in opening zip file analytics.ear c:\analytics\analytics.ear'. I am unable to create using command line options using as i get an error jar command is not recognized. Any help is appreiiated.
    Thanks

    Thanks, I am able to set the java path in windows environment and able to execute the jar command. It created a analytics2.ear file but when i try to deploy from the weblogic console it gives the following error..
    [J2EE:160120]Error: The module, 'analytics.war', is declared either in the application.xml or in the weblogic-application.xml descriptor but cannot be found in the ear file.
    Trying to research on the above. Any inputs are appreciated. I have the following files in my directory
    1. analytics2.war
    2.analytics2-ws.war
    3. META-INF
    They are in Analytics_war directory of windows. I am not able to use
    jar -cf analytics.war -C app .
    as it gives me an error that 'app\. folder does not exits. Replaced with Analytics_war assuming that it is looking to write the file to app folder still it did not work.
    Thanks

Maybe you are looking for

  • IPhone 2D Image Performance

    Hi all, I'm developing a 2D game for iPhone and am at the point where I need to consider my drawing options. Initially I chose to do batched 2D textured quads with OpenGL ES, then I realized that the iPhone doesnt support vertex buffers, so each spri

  • Screen size shortenedfrom top to bottom

    Attempt to increase font size on iMac via--System Preferences --Display and tried out different dimensions. None satisfactory. When tried to settle back on original 1280 by 1024, Firefox occupies the width but not the length of the screen .It is ampu

  • STO SCENARIO

    I am facing a problem in STO Scenario, After preparing a Delivery Document and MIGO is done in another plant, If I cancel the MIGO Document the reversed document is not updating in the Document flow of Delivery document. Whereas I trying the same in

  • Form field answers appear blank until I click on them - why?

    I have created a form using InDesign, however when customers submit the form, the fields appear blank. Only when I click on the field the information appears. How do I solve this so I can see all answers without having to click on each individual fie

  • New laptop spec suggestions for Photoshop and Illustrator

    Hi Everyone! As I am sifting through the posts regarding laptops - I figured I'd post my own as my requirements are a little different.  I am looking to buy a new windows laptop.  I work with Photoshop and Illustrator and basic office programs like o