General :: How To Write Grub On Another HD
Feb 5, 2010
I have XP on the boot HD, Ubuntu 8.04 on the other HD, and grub on the MBR of the Windows side. Then the Windows HD went bad and I need to get grub onto the other side so I can change the boot sequence to what was the second HD (the Linux one) and abandon the Windows side. Booting from a live CD is no problem, but I can't figure how to install grub onto the Linux side, which has been partitioned. I know where menu.lst is, and have backups of it as well.
Is this something that needs supergrub, or can a simple write to the proper place be done in a terminal window?
If switching the boot sequence is not enough (don't see why it shouldn't be) then I can also switch the jumper configurations on the two hard disks. But I don't think that should be necessary.
View 4 Replies
ADVERTISEMENT
Feb 17, 2010
I want to write a shell script which will simultaneously collect OS user information and write in an individual text files.Can anyone tell me the syntax of the script.N.B. The user name will be mentioned in an array within the shell script.
View 8 Replies
View Related
Apr 20, 2010
I am trying to install grub in MBR. I have working configuration on my root partion. I tried "grub-install" on MBR but gives me some warning.
Code:
/usr/sbin/grub-install /dev/sda
WARNING! You are trying to invoke the unsupported grub-install script with a parameter. To really do this, call grub-install.unsupported. You should rather call "yast2 bootloader" or create configuration files appropriate for the intended target. Also I tried it from Yast but still MBR has Chamelon boot loader.(I have chamelon boot loader, I want to overwrite my MBR with current grub configuration on my root partition.)
I tried using grub-install.unsupported but it did not work either. it says: /dev/sda does not have any corresponding BIOS drive.
I tried grub-editor (kde module) to do the work, but it gives me error: grub-install returned and unknown error exit code 1.
View 3 Replies
View Related
Jul 21, 2011
I am new to install slackware, i am using scientific linux 6 and first, I don't know how to detect the wireless network and I don't know how to write the grub in my sl, I define the kernel to /boot/vmlinuz, which is a symbolic link, linking to the large single user mode, how can I use different kernels and it's easy to load the kernel but the config file, how should i edit the grub.conf
View 10 Replies
View Related
Aug 29, 2011
Howto write Grub into a root partition instead of MBR on Centos 5.6 using CentOS-5.6-i386-LiveCD?
View 1 Replies
View Related
Nov 1, 2010
I made a clean install of opense Suse and by mistake I overwrited the menu.lst (because of the restoration utility). As a result I have the grub error 15 : file not found, and tried everything I could think.
Grub is installed on the MBR and boots from the extended partition. The new openSuse is on sda8, there is an old openSuse on sda4 but xorg is broken. I can boot on Windows, and sda4, but not on sda8 menu.lst
Code:
Code:
Code:
Someone sees what's wrong in the menu.lst ?
View 2 Replies
View Related
Jul 28, 2011
I have a windows 7 hard drive as Sda0 and have a second hard drive as Sdb1, which is where I want to install OpenSuse 11.4. Now here is where I am not sure on the install, so I don't screw my self up. I have 100mb partition on sda0 that windows 7 is using, do I enable grub or have the boot write to MBR?
View 3 Replies
View Related
Jun 10, 2011
I have been following this tutorial [URL]. When I get to the end of the installation and try to install GRUB to the /boot partition I have set up it throws a fatal error at me. No explanation other than it can't write to the specified location. I double checked all the partition settings which were the same as the tutorial then skipped the GRUB installation and finished. The only thing I can think of that might be wrong is that the 250MB partition size specified for /boot in the tutorial is too small.
View 2 Replies
View Related
Mar 27, 2010
I got a new Sony Vaio Z and try to install Ubuntu on it. The laptop has got two 64 GB SSDs setup as a RAID 0 array. [URL]. As the configuration is done in the BIOS, I assume it's hardware RAID. [URL]. The problem is that - no matter what I try - the installers are unable to write the GRUB loader on the hard disk. I tried both, standard and alternate installer (9.10 / 64 bit), and both failed at that point. Not a really error message, it just says "cannot write GRUB boot loader".
I also tried two different scenarios:
- Ubuntu beside Windows (shrinked the partition for that)
- Ubuntu on the empty RAID
View 7 Replies
View Related
Nov 20, 2010
my Setup is Fedora 14 x64 + radeon hd 4830 i've downloaded .run package from ati site with latest driver for x64 systems. installed it, but didn't edited grub.conf becouse i didn't understood anything there (probably didn't spent enough time to get things understand) Now i've lost possibility to enter my Fedora system. during boot it lost it's modern blue boot screen (with filling drop), it was replaced by standard old boot screen with triple-color stripe. after this boot screen monitor start blinking going on and off. and on last step i'm getting "Fedora 14 boot bla bla bla something" on screen. nothing works except Ctrl+Alt+Delete. system reboots showing successful daemons shutting sequence. How can i edit grub menu from initial grub screen is it possible to it's own 'e' option or 'c' from grub command line?
View 4 Replies
View Related
Aug 19, 2010
I installed Debian on my PC and then installed Ubuntu. This worked fine and I could dual boot between the two. The PATA disk was /dev/hda on debian and (I think) /dev/sda on Ubuntu. I copied the entire disk to a sata disk using dd from knoppix and put the PATA one to one side. Now the Ubuntu comes up fine but when I boot debian, it complains about references to /dev/hda1, which is present in grub - root=/dev/hda1. Debian now expects sda references rather than hda references. How do I persuade Ubuntu to write /dev/sda1 to the bootloader rather than /dev/hda1 using grub-mkconfig?
View 1 Replies
View Related
Jan 31, 2011
solve the following problem...mtrr: type mismatch for c0000000,10000000 old: write-back new: write-combiningThis i am getting many lines in DMESG.
View 10 Replies
View Related
Nov 17, 2009
Ive installed Gaussian '03 on fedora Core 10, but I'm unable to run it. It aborts and i get the following error
Code:
Erroneous write during file extend. write -1 instead of 4096
Probably out of disk space.
Write error in NtrExt1
View 3 Replies
View Related
Jul 20, 2011
I just formatted the partition that contains fedora 15 using windows.. Now when I attempt to boot my PC the grub bootloader comes up and I cannot boot anything.... The error that I get|| i feel i need a boot command to boot boot win7 from grub... grub propmts me " minimal bash-like line editing is supported. for the first word tab possible list a possible commands completion anywhere else tab list
View 1 Replies
View Related
Mar 3, 2010
I want to write a shell script, so that at 9AM every morning a general will be sent automatically to my network users E-Mail ID. My users are as follows: akhtaruzzaman@a[URL], ariful.[URL] etc.
Below is my little effort:
# !/bin/bash
userlist=`cut -f 1 -d : /etc/passwd`
mail -s "mailbackup" << END
keep mailbackup in another drive daily for security purpose
View 3 Replies
View Related
May 3, 2011
I can't write to USB on Natty. I can read the files and copy them to my netbook fine, but I can't change anything, I can't write or delete files
View 1 Replies
View Related
Apr 5, 2011
I am using kernel 2.6.32.21, and my hard disk is West digital WD10EARS-00Y, 1TB. This disk is just for data, I made 2 partitions on it, each has half. And I have another small disk for system. I am using ext3.
this is my fdisk /dev/sdc
Device Boot Start End Blocks Id System
/dev/sdc1 1 60800 488375968 83 Linux
/dev/sdc2 60801 121601 488384032+ 83 Linux
[Code]....
I ran some dd to test the write throughput on /dev/sdc2. If I run it in /data2, I got around 70MB/s. If I create some directory, say /data2/dir/, and run dd again, I might get 60MB/s. Sometimes I still get 70MB/s, sometimes I get 60MB/s, differs for directories.
I wonder if this is because the allocation policy of file system, ext3, or this is from my hard drive?
View 7 Replies
View Related
May 24, 2011
I'm writing a script/plugin for Nagios for testing a WebLogic server.. I redirect some output to a file, and then i read that file to get some data, but i can't seem to write to that file with my script :s... this is the most important code
[Code]...
* EDIT * When i execute this script through a local terminal (PuTTy), it works but when i execute it from Nagios, it doesn't work..
View 5 Replies
View Related
Mar 29, 2011
what are hooks and how to write them
View 2 Replies
View Related
Apr 27, 2011
I'm using Ubuntu 10.0.4. I downloaded an old script for starting/shutting down a service I have, and evidently "initlog" doesn't exist anymore. What is the correct way to write to the boot (system?) log?
View 2 Replies
View Related
Dec 12, 2010
Can anyone tell me how to write a command that open2 mozila firefoc at 3 p.m. on monday using CentOs 5.
View 16 Replies
View Related
Mar 7, 2011
I need to use a lib developed by me in c in my php app but i don't now how. I will use it in Linux.
View 2 Replies
View Related
Jun 11, 2010
I have an old Mac OS (Tiger) and the new OS are not backwards compatible with computers as old as mine. In the reading I've found they explain how to partition the hard drive, but this is not what I want. I only want to have the Linux OS.
View 14 Replies
View Related
Sep 21, 2009
I am keen in understanding the Linux SPI Framework and how to write an SPI Driver.So could anyone kindly show me any good reference for understanding the Linux SPI Framework.
View 2 Replies
View Related
May 26, 2011
how to write own shell in linux?i want to know procedure of shell programming.
View 5 Replies
View Related
Mar 3, 2010
On my laptop for testing, I simply chown each subdir of /var/www to my myuser:www-data. But, now that I am setting up a public facing server, I'm wondering if this is the proper way to do so? If not, what is the best way to allow a non-root account to write to /var/www.
View 4 Replies
View Related
Mar 17, 2010
I just did a fresh install of Fedora 11 and added Raid 1 following this tutorial: [URL]
Now I see the filesystem when I open 'Computer' in the GUI, and I open it and see 'lost+found', but i can't write to the drive. The option is simply greyed out. And when I view Properties on the drive and go to Permissions, it says 'The permissions of {driveid} could not be determined.'
View 1 Replies
View Related
Aug 16, 2011
I want to keep a trace of the URL I visit, so I use a command line like this:
tcpdump -ien1 -v -X 'tcp port 80' | sed -nl
's/^.0x[0-9a-f]{4}:.{43}(.)$/1/p' |perl break.pl |perl -pe
's/(GET|POST).(.*?).HTTP/1....Host:.([a-zA-Z._0-9-]*)../"
BEGURL
[Code]....
I also tried redirecting stdout and stderr to /tmp/out, it's still empty. The file has write access. I have no idea what it can be. Is there anything else than stdout and stderr?
View 2 Replies
View Related
Apr 6, 2010
If I were asked to write a linux device driver for a pen, How should I start?
View 4 Replies
View Related
Dec 24, 2008
I am using OpenSuSE 11.0
KDE 3.5.9
Konqueror
I was able to copy 227 images to a brand new 2GB memory card and I am only using 8% of the card and now I can't write to it anymore?
Code:
Filesystem Size Used Avail Use% Mounted on
df -h returns this : /dev/sdd1
1.9G 136M 1.8G 8% /media/disk-2
This isn't the first time this has happened either. Just the last couple times I didn't really care enough to pursue it. But now I am trying to load a card for my daughters digital photo frame and I can't because now all of a sudden I can no longer write to the drive? The exact error message I get is: "Could not write to /media/disk/image.jpg" and when I try to create a new folder, I get a disk full error message? How in the heck is this possible when I am only using 136MB of 2GB of capacity?
View 5 Replies
View Related