Software :: Incorrect Syntax In Grub.cfg, Or Damaged Boot Sector?

Mar 30, 2011

The project was an update of a cluttered dual boot ubuntu/XP laptop to ubuntu 10.10. For work, I sometimes need Windows, regrettably some software needs Explorer or indeed W$ itself to operate.Grub 2 still seems buggy, install was fixed by

Code:
sudo mount /dev/sda6 /mnt
sudo grub-install --root-directory=/mnt/ /dev/sda

[code]...

View 3 Replies


ADVERTISEMENT

Ubuntu :: Repair The Boot Sector From A Live-CD With Grub 2?

Jun 18, 2010

The boot sector somehow got messed up on a friends computer while updating. I used to know how to do it with the old version, but now that they've updated it and changed everything , how do you repair the boot sector from a live-CD with Grub 2?

View 5 Replies View Related

Ubuntu Installation :: Grub Fails To Be Written In Boot Sector / What I Need To Do?

Nov 21, 2010

I am a complete noob at this and I need a hand. I was about to throw my computer out of the window when I decided to throw the windows out of the computer so to speak. So, I downloaded Ubuntu 10.10 and tried to install. I had a grub rescue after the installation (file system unknown), which I have seen discussed here. Being the noob that I am I decided to try 10.04 because it said it had full support. With this install I get a similar error during installation: grub cannot be installed in boot sector.

So, basically there is an issue with grub and the boot sector. I checked in my BIOS options to see if there was an option that prevented the writing of a boot sector or something, but I have not been able something like that. So, I am wondering if it is possible that Ubuntu does not really erase/format the selected disks or something, leaving any difficulty there.

Does anybody know? Or better yet: what exactly do I need to do a manual grub install?

View 9 Replies View Related

Ubuntu Installation :: Delete Grub From Boot Sector In HD Of Toshiba Notebook

Jun 7, 2010

I have a toshiba notebook with Windows XP and Ubuntu studio. I removed Ubuntu partitions with the idea to install classic Ubuntu, but... grub don't recognize Windows to boot. I formatted the hard disk as slave from another PC. I installed Windows again trying to delete the grub, but, it is already there. I am trying to repair grub from Windows with: FIXBOOT, FIXMBR, fdisk /mbr from MS DOS, but that is not working.

Any suggestions:
- To delete the hard disk complete and start again everything. (deleting grub also)
or
- To repair boot sector for Windows

View 4 Replies View Related

Ubuntu Installation :: Grub Always Returns "invalid Or Damaged Bottable Partition" , Can't Boot?

Aug 10, 2011

I've been running a dual-boot ubuntu 11.04 64-bit and windows 7 64-bit for a while now, and recently got a new computer. I moved the hard drives to the new computer (one had both os's on it, the other was just a storage drive) and windows 7 would not boot, so I reinstalled it. I used a live cd to repair grub using boot repair /Boot-Repair) and everything looked to be going swell But when I tried to boot I got "invalid or damaged bootable partition" instead of a grub menu. so I went back and, copying and pasting the commands the program gave me, I manually removed and reinstalled grub on my ubuntu partition. same error. so, I backed up all my documents onto a third drive, wiped everything out, and started again. I installed win7 on one drive, and then when that was done, I installed ubuntu on the other. lo and behold when I tried to boot I got the same error message, and now I can't even boot from my windows drive. The ubuntu drive is fairly new and according to disk utility has no errors. Is this some problem with grub or what?

View 5 Replies View Related

Ubuntu :: GRUB Says My Filesystem Is Damaged?

Jan 20, 2010

GRUB says my filesystem is damaged and it gives me a "grub rescue>" prompt.

View 5 Replies View Related

Ubuntu :: Blinking Cursor After Grub - Recovering A Damaged VM Server?

Jun 6, 2011

I have an Ubuntu server virtual machine running in vmware server on a Win2003 server host. A locked up machine forced a hard reset a couple of days ago and my VM seems to be damaged.At first VMware wouldn't start the VM, complaining of a locked file. I deleted 3 .lckdirectories and was able to start up the VM. I then get a GRUB menu with 6 options - booting any of them other than memtest results in a lone underscore cursor at the upper left corner.me in the right direction as far as the next thing I should try at this point? Unfortunately I had not yet set up a rigorous backup scheme, other than internal daily db/web backups that are stored inside the VM. I have a snapshot from 3 weeks ago but upon loading the snapshot I get the same cursor.

View 1 Replies View Related

Fedora Installation :: 10 - WDE And Dual-Boot - Boot Sector Is Occupied By WDE Software (TrueCrypt)

May 17, 2009

I currently have XP installed on a NetBook (Samsung NC10), and would like to run Fedora on it. I'm currently looking at putting Fedora onto a flash memory card to test it works OK on the hardware, before installing it to the hard disk. The problem I've got is that the boot sector is occupied by WDE software (TrueCrypt). Will this pose a problem for dual-booting XP with Fedora, or will GRUB move the boot loader in the usual way?

View 2 Replies View Related

Ubuntu Installation :: Grow Boot Sector. Delete Swap Partition. Can't Boot Afterwards.

Mar 7, 2010

I'm running 9.10 off of a 4 GiB CF card. I keep running into space issues with updates, so I purchased an 8 GiB replacement card. I've cloned the 4 GiB card to a .IMG file using DD.I've then copied the 4 GiB image back to the 8 GiB card using the Ubuntu startup disk creator program. Once done, I'm able to properly boot off of the new 8 GiB clone.Unfortunately, the clone ends up with 3.67 GiB of unallocated space at the end *see attached). I tried deleting the "extended" partition that the swap is located at after booting from a Live CD and the system was unable to boot after this. I was thinking that I would delete the swap entirely and create a swap file after I merged the existing partitions, but I was unable to do this.

best way to do this (e.g. get one large 8 GiB partition with my old image on it)? I still have the original untouched 4 GiB card and also have an external CF drive if I need to redo the cloning. I've also used Clonezilla before, so perhaps there's a way to do this that allow me to grow the image as it's being cloned.

View 1 Replies View Related

General :: Boot Sector Of Installed Vector Linux Doesn't Have Boot Signature

Feb 13, 2011

upon adding the installed VL on the existing LILO.. (btw i have not installed its LILO on the installation setup) since i know that i will just add it to the "existing" LILO the error above arises upon doing the lilo run command.$adding Vector6.0 etc.FATAL : Boot sector of /dev/hdc13 doesn't have a boot signature.i have tagged the /dev/hdc13 bootable via CFDISK. but same problem arises..

View 8 Replies View Related

Ubuntu :: Master Boot Record Damaged In Windows Partition?

Jul 1, 2010

Windows' Master Boot Record seems to be damaged on my dual-boot.Here are the details.

Boot Info Script 0.55 dated February 15th, 2010
============================= Boot Info Summary: ==============================
=> HP/Gateway is installed in the MBR of /dev/sda

[code].....

View 5 Replies View Related

Ubuntu :: Partition Table Damaged - Pc Doesn't Boot From Hard Disk

Feb 20, 2011

Caused by Used fdisk to delete the windows partition, in my dual boot. Then I could no longer log in to ubuntu, the partition table was some how courpt and I couldnt remount I then decided to use the windows partitioner from windows setup, as I thought it is so stupid, to reformat the partition where I had ubuntu. I wanted reinstall ubuntu, and I know that during the setup I could straighten out the mess I'd made.

Windows has now installed two 8mb one cylinder partitions on my HD. When I start the PC I get a !disk error occurred Press Crlt Alt Del to restart! This happens everytime. HD boot sequence is buggered, i guess.

I can boot from other devices. USB + CD. How when I use the windows disk to boot up I can see the 2 8mb partition, which it wont let me delete. How can I delete this via linux?

Also when I try to install ubuntu from the usb drive, it stalls just after the Preparing to install part. The next screen is when you set the partition table, swap drive etc. When I quit I get the following error !Process Glib WARNING getpuuid_r() failed due to unknown id!

The usb_liveCD does however mount my hard disk partitions and luckily I have managed to back everything up to an external.

results from df
/var/log# df
Filesystem 1K-blocks Used Available Use% Mounted on
aufs 766804 68140 698664 9% /
none 760892 244 760648 1% /dev
/dev/sdb1 3911856 712128 3199728 19% /cdrom

[Code].....

View 4 Replies View Related

Ubuntu :: GRUB "error: Syntax Error" On Boot?

Nov 3, 2010

Whenever I boot my laptop, I get the following three lines:Code:error: syntax error.error:Incorrect command.error: syntax error.Right after I see the error messages for a couple seconds, the boot screen shows up and the rest of the boot progresses as normal. I'm on a Wubi 10.10 ubuntu install and I'm pretty sure this error has something to do with the GRUB_TIMEOUT line on 'etc/default/grub' file.I was experiencing some weird glitches with the boot splash screen (it was in the wrong resolution and would not display some times) so I edited that file to make it work. Here is the file:

Code:
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.

[code]....

View 9 Replies View Related

Ubuntu :: GRUB - Incorrect Menu

Jun 3, 2011

I am having weird problem with Grub Menu listing during Grub display at Boot. I Multiboot with Lucid Lynx, openSUSE and Windows7. My Grub is installed along with Ubuntu. I did not install bootloader when installing openSUSE.

Now during boot Grub Menu displays five entries for openSUSE. However when I did grub-update in the terminal it shows only one image for openSUSE in terminal.

Quote:

But again Grub Customizer shows or lists five entries for openSUSE. (Please see the attached screenshot)

There are no problems during boot (except that Ubuntu takes a bit longer to load). I am really annoyed by the multiple SUSE entries in the GRUB and also by the fact that Ubuntu takes a bit longer than normal to boot.

View 1 Replies View Related

Ubuntu :: Cannot See Grub Because Of Incorrect Monitor Timings

Apr 28, 2011

I'm using 11.04 and when I boot I see post messages and then when it gets to grub I just see black screen with a monitor timing not supported issue. I have a geforce 6100 nforce 405 video card with a Dell U2311H monitor. It does boot to the desktop eventually, and everything from there on works as expected.

View 4 Replies View Related

General :: Damaged Hard Disk Doesn't Pass SMART Test, And , Won't Boot With It Connected, Even From A Live CD?

Sep 19, 2010

Its basically an old SATA Hard Drive with a Windows XP partition I was trying to sell.When my computer does the BIOS checks, it doesn't pass the SMART test (but I can boot it anyway), although I can't boot Linux in any way with this Hard Disk connected (I even tried Live CD distros, like Parted Magic).I can boot the XP partition from inside the disk, although I guess its pretty close to not being able to. Is there any way to "fix" this Hard Drive?

View 3 Replies View Related

Debian Installation :: How To Copy USB Key Boot Sector To HD

Aug 20, 2010

I just installed squeeze from a usb key. Installation went flawlessly but now I need the usb key to boot. Nothing happens if I let the bios boot from the HD or if I force it to do so. When it boot up from the usb key, the HD is read and the boot up sequence continues. Grub seems to be installed in /boot/grub. I imagine that I have to copy the usb key boot sector to the HD but how?

View 3 Replies View Related

Ubuntu Installation :: No Boot Sector - Hit F1 To Retry

May 11, 2010

I have a rather puzzling error. I recently purchased an usb external hard drive with the intent of installing Ubuntu on it. I have had great success with installing various linux flavors on usb thumb drives but I need a little larger space for engineering applications that I use. Anyway, I removed my laptop's internal hard drive and installed ubuntu 9.10 on a recently formated external hard drive. Everything worked fine at first. Upon restarting I get an error that says "no boot sector" and it asks to hit either f1 to retry. When I hit retry, Grub loads most of the time. Occasionally it does not work. Is Grub just not installing correctly? I searched for this error but I found nothing that directly applied.

View 2 Replies View Related

Ubuntu Installation :: No Boot Sector On USB Device

Dec 19, 2010

My old Dell Inspiron 9300's CD Rom is no longer working. I've written the files to my 8GB USB device, and attempted to boot from it. Whenever I try, I get this "No boot sector on USB device". I'm also using Mac OS X to make the USB drive.

View 3 Replies View Related

General :: Want To Remove LILO On Boot Sector

Feb 24, 2011

Here's the set up.
1. Got an EXISTING LILO... VL 5.8 (/dev/hdc3)
2. Installed VL6.0 and installed its own lilo on Boot sector (/dev/hdc13)
3. Everytime I choose VL6.0 in my existing LILO (/dev/hdc3) it still goes to VL6.0's LILO. The question is, how can I remove the VL6.0 so if i choose this on my existing lILO. It will just boot straight.

VL6.0 LILO:
root:# cat /etc/lilo.conf
# LILO configuration file
# generated by 'liloconfig'
# Start LILO global section
boot = /dev/hdc13
#default = linux
#compact
#prompt
#timeout = 0 .....

View 3 Replies View Related

Ubuntu Installation :: Win7 Has Overwritten Boot Sector?

Apr 21, 2011

I have been running a dual boot system with Windows XP and Ubuntu 10.10 64 bit with the dual boot selected by Grub (placed y an Ubuntu install).

Recently I have installed Window 7 Home on a spare disc. My Bios allows me to select which disc to boot.

The Win7 installation has overwritten the boot sector on the WinXP/Ubuntu dic so that it is now not bootable.

I can sse all my Ubuntu files with a Live Linux Disc, so I can get all my files back.

Is there any easy way to re-install Grub or should I just do a clean install of Ubuntu, perhaps to a blank partition?

View 3 Replies View Related

General :: SuSe 11.3 Error - No Boot Sector Found

Feb 17, 2011

I recently installed 11.3 on an external drive. After adding some software in yast (searched Kernel and checked every option), I was prompted to reboot but the no boot sector found error came up. Tried reinstalling with the same result. Grub is boot loader

View 8 Replies View Related

Programming :: Fail To Write To USB Device Boot Sector / What To Do?

Jul 4, 2010

I'm writing a C program that reads the boot sector of a USB disk. (it is mounted as /dev/sda1). I'm able to read the sector, by the calls code...

The problem is when I wish to write. I use the call:
bytesWrite = write(fd, buf, 512)
The 'write' returns the value of 512, which looks as if the write was successful, yet
when I read again the /dev/sda1 device, I see that no writing was actually made.

Can anybody tell me what do I need to do in order to allow an actual write to the
device?

View 2 Replies View Related

Fedora Installation :: Install Didn't Create Boot Sector?

Jul 12, 2011

I installed Fedora 15 on a primary partition and expected the install to create a partition boot sector, but it didn't. Did I do something wrong or is this not supported?

View 13 Replies View Related

Ubuntu Security :: 9.10 (64bit) - Symptoms Of Boot Sector Infection?

Oct 20, 2010

I run 64 bit ubuntu 9.10. I recently rebooted my computer with a flash drive plugged into a USB port. My question is, could I have got a boot sector virus because of this? What are the symptoms of a boot sector infection? After the incident, I scanned the flash drive with clamav and it didn't detect any viruses. Also, in the BIOS, the hard drive is higher up in the boot sequence than USB mass storage drives. These two things suggest to me that a boot sector virus is improbable. But, recently, when I tried to boot into ubuntu, I got an error message saying that /dev/disk/uuid<some characters here> didn't exist.

Is this a symptom of a boot sector virus? So, I ended up re-installing ubuntu and I believe grub was written to the MBR. Will this have erased any boot sector viruses that were on my system? Can a boot-sector virus affect linux too? How can I check to see if I have a boot-sector infection? I also have windows xp on my computer. For some reason, windows xp isn't letting me install any updates, but this has been going on for since before the above incident with the flash drive and therefore I don't think that is due to a boot sector virus.

View 9 Replies View Related

Ubuntu :: Disk Formatted In Error - Boot Sector Repair

Nov 20, 2010

I was using the disk utility on Ubuntu 10.04 and wanted to make by 500GB external NTFS formatted USB drive into 1 x 50GB FAT32 and 1 x 450GB NTFS. I clicked the option that said format or create a partition and it basically wiped the whole thing in a split second leaving me with 500GB of seemingly empty space. Obviously the files are still there but I cannot boot the drive to view anything. I have downloaded testdisk, but don't know how to use it, but I am sure there is a relatively simple solution here. I am currently repairing the boot sector of the drive as Test Disk showed the drive as "no type" i.e. not FAT/NTFS/ext4 etc., but shows the correct amount of used space though, but I cannot view anything err go, I cannot use the undelete command as yet.

View 2 Replies View Related

Ubuntu Installation :: 11.4 - Grub2 Kills Windows Boot Sector

Apr 30, 2011

Been away from linux for a few years thaught id come back and give it a try again. I have Win7 on sda and installed 11.4 Ubuntu on sdb. Grub2 Over wrote the boot sector for windows so windows wouldnt show in the boot menu. I repaired that after some research and then tried it again with 10.4 LTS version of Ubuntu. Same thing. Now I've fixed windows boot sector a second time and im ready for round 3. Any hints on how to get grub2 to boot both OS's? Ubuntu 10.4 is still on sdb I think I should just need to re-install grub2 But how to do it without Killing the windows boot sector?

View 9 Replies View Related

Hardware :: How To Move Boot Sector From SCSI To SATA Disk

Jul 5, 2010

I have three disk in my system. One SATA (250GB) and two SCSI (73GB) disks. The Two SCSI disks were installed originally and RHEL3 is installed on it. The SATA disk is installed a few years later with RHEL5. As you can see below, the boot sector is still on one of the SCSI disks (sdb1).

Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 236545184 15259760 209075624 7% /
/dev/sdc2 68539636 4578792 60479160 8% /users
/dev/sdb1 101089 26847 69023 29% /boot
/dev/sdb3 68437272 36963704 27997104 57% /RHEL3U7
tmpfs 2025916 652 2025264 1% /dev/shm

How I can move the boot sector from the SCSI disk (sdb) to the SATA disk (sda) without losing data and without re-installation?

View 6 Replies View Related

Ubuntu :: Ccd2iso " Unrecognized Sector Mode (c9) At Sector 0 "?

Jul 27, 2010

Title says it all, I get that "un..." when trying to convert an .img file to .iso, am I doing anything wrong here?.

View 3 Replies View Related

Debian Installation :: Found A Bug In The Installer \ Enough The Boot Sector Showed As Blank?

Jun 26, 2011

I had ubuntu studio installed ( for the record I hated it and every ubuntu flavor I have ever used. ) After backing off all the stuff from my home dir I started to install testing from a dvd. ( Is there a net install for testing? I couldn't find it) Don't ask me how it happened but some times I would have two grub graphical boot menus. One would chain to the other. I suspect that happened from one of the very friendly updates ubuntu did. Well when I tried to install testing I got a red screen telling me that grub wouldn't install so I tried lilo. Well it wouldn't install either. Back in the old days when I was a slackware guy installing from a stack of floppies I had a trick to wipe out any boot loaders or other stuff that gave me a problem. I would dd if=/dev/zero of=/dev/<drive info such as hda with no partition number> .

This would write zeros over the drive and it would look like a new drive. So I did this trick. But still no joy ( this is a clue, dd was also thinking that the beginning of the drive was after the boot sector.). I suspected that the installer wasn't doing it's job right. So I got a PCLinuxOs disk and started that installer. The PCLinuOS installer has a cutesy visual bar that shows the partitions. Well sure enough the boot sector showed as blank. This was what the Debian installer had done. It left the boot sector blank and tried to install the boot loader right after it. This won't work. Now I consider when some version of Linux falls on it's face and another version does it right that the version that fell on it's face has a problem.

One might even call it a bug. But I don't know what to do about it. I don't think the problem is with grub or the installer itself. I think how the drive was looked at was faulty. That's why dd didn't blankout the boot sector. So what do I do to help get the Deb people to fix this? The more I think about it the more I think the problem is with udev ( what a surprise) I think this because I suspect dd looks to the info set out by udev to find the beginning of the drive.

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved