Debian Configuration :: Installing Grub On Cloned Drive?

Jun 16, 2011

Im running Squeeze (in VirtualBox on a Win host), and I need to clone my drive to a bigger one and boot from that drive. I used gparted from a live cd for the cloning, and got the following result with fdisk -l:

Disk /dev/sda: 8589 MB, 8589934592 bytes
255 heads, 63 sectors/track, 1044 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

[Code].....

View 1 Replies


ADVERTISEMENT

Debian Configuration :: How To Restore My Debian's Grub After Installing Windows 7

Sep 5, 2010

I have installed Windows 7 on my laptop . Now, it directly boot from Windows 7 . I think the MBR overwrote my grub . I have found two methods by google , but still does work .
1: boot from debian install CD, Alt +F2 switch to the console. "grub " "root (hd0,0)" "setup (hd0,0)".
2:boot from CD, mount /dev/scsi/host0/bus0/target0/lun0/part1 /mnt ; chroot /mnt ; grub-install /dev/sda.

View 7 Replies View Related

Debian Configuration :: After Installing GRUB Win 7 Fails To Boot

Nov 26, 2015

I have a ~ 2008 notebook (Compaq CQ60-137EL) on which I had Windows 7 only (it was sold with Windows Vista installed).

Later I installed Debian Jessie 8.2.0 Stable ("Graphical expert install" from DVD), along with GRUB as a boot manager (I chose not to install it on the EFI removable media path).

Since then, if I select Windows 7 on the GRUB boot screen, I see "Starting Windows...", and after few seconds the screen flashes for a moment, and then the PC reboots: I see the bios screen, followed by the GRUB screen again.
What's even more weird about this is the fact it just happens only in like ~50% of the cases. In the other 50%, Win7 starts flawlessy.

I even tried to install Debian first, then Windows 7, then re-install GRUB, but I got the same issue, even with both system freshly installed.

On 6 attempts, 3 times it worked and 3 times it didn't.

On my desktop PC I'm in the same setting, but I don't have this issue. I think it may be related with the fact I have Win7 on a SSD and I installed Debian on a separate HDD, while on my notebook, as you can imagine, there's just one single HDD.

View 11 Replies View Related

Debian Configuration :: Installing Via Apt Applications On Usb Drive

Sep 8, 2010

I have installed a core debian install on the NAND on a little ARM dockstar, which is fine as a slow little media storage server but really i need to put squeezebox server on it and my media collection. Theres no issue slapping in a 2.5 usb HD in to the dock with my media on ... the issue i have is i do not have room in nand for the server application/associated dependancies (plus a lot of read/write issues if i put them in nand) so i am wondering if its possible to ammend the configuration somehow to have apt automatically install the server software (a pig to do manually with all the dependancies) to the USB HD (rather than the default nand paths) without affecting the operation/dependancies in the core install in NAND

View 5 Replies View Related

Debian Configuration :: Restoring Lenny's GRUB After Installing Windows XP Elsewhere?

Feb 21, 2010

My computer initially had one hard drive, with Debian Lenny 5.0.4 installed. I haven't done any special configuration, so upon boot, I was presented with the GRUB kernel select menu, then gdm, etc. I think I used the Debian installer's 'use entire drive with LVM' configuration.

I then added a second hard drive, with the intention of installing Windows XP on it. After I installed XP on this second drive, I found out that it had overwritten the MBR on the first drive. (It was my intention do use the BIOS' F8-key boot menu to choose between the two drives, each with their own distinct boot loader. The two drives and OS's would be completely independent.)

Using my Debian installer CD, I think I have GRUB installed on the first drive again. I've found a number of tutorials which say I can use 'set' and 'linux' to boot the system, but the linux command always returns a file not found error.

I think my LVM filesystem is still intact, as the Debian installer's fdisk reports it, it can also chroot to it and my installation appears to be intact. 'ls' within GRUB shows (derek-swap_1) (derek-root) (hd0) (hd0,1) (hd0,2) (hd1) (hd1,1) (fd0) . 'derek' was the hostname I used.

I would like to simply restore the system to the way it was before: with the standard GRUB that comes with Debian 5.0.4, which then boots into the debian with my LVM filesystem. Is there a way to do this from the Debian installer CD? (I was hoping there would be a 'dummy install' command which would install GRUB and configure it properly, but leave all my existing partitions and filesystems intact.)

View 4 Replies View Related

Ubuntu :: Accessing Free Space On Cloned Drive?

Jan 7, 2010

I have an MSI Wind with Windows, Ubuntu Netbook Remix and another Ubuntu derivative installed on my 80gb drive. I recently acquired a 160gb drive, which I plan to put into the Wind. I cloned the 80gb drive, which left me with an identical configuration, plus 80gb of unallocated free space. The problem is that I already have 4 primary partitions; the last of them (adjacent to the free space) is divided up into 4 extended partitions. I tried to make the free space available in gparted, but it won't let me create a new partition because I already have 4 primaries. Is there some way I can get this into the last primary partition? I tried expanding the size of the extended partitions in the 4th primary partition, but gparted won't let me do this.

View 5 Replies View Related

Software :: Problem With Installing Debian Onto External Hard Drive/grub Bootloader Error "21"

Jul 10, 2009

I've been running Debian Lenny kernel 2.6.26 w/ desktop kde3.5 on my laptop for a while, and im going to take a trip in which i will be unable to take wmy laptop with me. However, where i am going contains computers and i figured if i could install debian onto my external harddrive, i could just boot onto the other computers. I install it using the debianlenny-i386 dvd image. However whenever I try to boot it from a computer. Grub returns

Code:
Grub Loading...
Error 21
and then the blinkng cursor. On one site i found something saying "you may need to activat the drive" and some command-line instructions on how to do it. However the commands have faded from memory and i am now unable to find that site again. Could anyone offer insight on how to fix this "grub error 21" or how to activate it. I run primarily debian but i have a windows partition on one of my relative's computers.
Thank you in advance for the help!!!
btw I'm installing on a western digital 500gb "passport" external hard drive with ext3 and swap partitions.

View 5 Replies View Related

Debian :: Display Is Cloned Instead Of Extended

Jun 4, 2015

I'm having trouble with Debian 8 and using my dual monitor setup. Whenever I install a desktop that uses lightdm as a display manager (XFCE, MATE, Cinnamon) the login screen is cloning the two monitors rather then extending the desktop. I don't have the issue with gnome 3 (gdm) or kde (kdm). I tried installing Slim as well, but that has the same cloning issue.

I had a similar issue with g the XFCE environment, but I was able to resolve it by installing arandr and configuring the monitor layout. Upgrading from Stable to Testing also fixed the XFCE issue with the newest version of XFCE. Unfortunately I still have the display manager issue (lightdm/slim) in Testing as well. I would prefer to use XFCE but I'm willing to move to Gnome 3/KDE if need be to resolve the issue with the login screen.

View 3 Replies View Related

Debian Installation :: Installing Debian On The Second Drive Without Messing With The Windows Drive?

Mar 21, 2011

I was wondering. Up till now whenever I installed Linux I've either dual booted with Windows off 1 HDD, or installed straight Linux by itself. However, I recently purchased a second HDD for my computer, and was wondering how I could go about installing Debian on the second drive without messing with the windows drive? Right now I have Windows 7 installed on my 1TB drive, and would like to try and install Debian on my second (750GB) drive. Would it be possible to install Debian on the second drive, install grub on that drive's MBR so I could choose between Debian and Win7 without touching the MBR on the 1TB Windows drive?

I'm paranoid about messing up my Seven installation, but really want to be able to load into Debian as well.

View 5 Replies View Related

Debian Configuration :: Get The Windows One Working Again - Grub Configuration

Oct 3, 2010

I was trying to get the Windows one working again. Here's what fdisk -l reads:

[Code]...

I'll change these or do some grub configurations, if anyone knows what ones can work.

View 1 Replies View Related

Ubuntu Installation :: No Valid Drive After Installing - Grub Failed

Feb 1, 2010

I installed unbuntu 9.10 on a dual partition for alongside windows. Grub failed during installation and now I can not boot to windows or ubuntu. I can not repair with the windows cd, I can not do anything in Windows recovery no format, no fixboot, no chkdsk, no anything, it tells me there is no valid drive when I am in dir C:. In Ubuntu live CD I can see all the files are there on the local disk. What do I need to do to fix this

View 9 Replies View Related

Ubuntu Installation :: Grub - Installing 10.04 64bit On An External USB Drive

Jul 15, 2010

The default (graphical) installer did not work on my PC (i7 quadcore 8 GB DDR3). I have installed Ubuntu using the alternative installer (Desktop, 64 bit) on my external USB drive. I installed grub on the MBR of the second drive (/dev/sdb) as I did not want to touch my (first) Windows disk. After reboot (chosing the USB drive as boot device, else Windows is booted) grub reports an error and enters the rescue mode. I tried all possible combinations of "root=(hdX,Y)" in grub.cfg to no avail.

I repeated the whole procedure but now disconnected the internal HD with Windows. Installation went smooth again (Windows disk was not seen this time), but after reboot (the internal drive connected or not) I again get (slightly different this time) grub error: can not find file.

View 9 Replies View Related

Ubuntu Installation :: Grub.cfg Gets Wrong When Installing On Usb Hard Drive?

Jun 6, 2011

I have a HP Compaq 6710b notebook with W7 on it. I want to use Ubuntu for hobby activities, but as this is a company notebook, W7 should remain intact. I decided to install Ubuntu to an external drive.I set BIOS boot order to CD-USB-HDD.I attached a 2.5" 250GB WD Passport usb hard disk and installed Ubuntu to it from the CD.As a result, the clean install doesn't boot, I get a mere grub console (normal, not rescue).

Examining the situation I learned, that during Live CD session the inner hdd is hd0 and usb drive is hd1. Grub.cfg gets compiled to use /dev/sdb.When booting from usb drive, BIOS makes it to be hd0 and inner hdd becomes hd1 so grub tries to load kernel from W7 partition (and can't find it, I wonder why? )How to fix problem? Although grub.cfg is supposed not to be edited, may I change every sdb to sda in it?

View 3 Replies View Related

Debian :: How To Install Clonezilla And Mount Multi-partitions Cloned Image Disk

May 15, 2010

Simple question, which implies lot of complexity, unfortunately : how to install Clonezilla and mount multi-partitions cloned image disk under DEBIAN ?

Wishing that one day Linux would be so easy and complete as Windows. But we are gaining more users, so Linux will have more apps

View 5 Replies View Related

Ubuntu :: Installing Grub On Flash Drive To Dual Boot Clonezilla/gparted?

May 15, 2010

essentially what the title says. Clonezilla cannot be installed in ubuntu so running a live linux on the usb and installing the applications in that is not an option.

View 2 Replies View Related

Debian Configuration :: Windows 7 Ate Grub

Apr 18, 2011

I recently installed Debian, and its great except hardware config, any way already fixed that, I reinstalled windows 7, and it removed Grub I tried reinstalling it, and reconfiguring it no luck I've booted into Debian using a boot CD.

View 6 Replies View Related

Debian Configuration :: Installing Anything New On System

Jun 11, 2010

I came across one strange problem. When I try to install a new package on my system, I get this error, connected with libgnutls26:

[Cpde]...

View 2 Replies View Related

Debian Configuration :: Installing With A Later Kernel ?

Sep 10, 2010

My girlfriend got a 'new' (second hand) laptop, a HP Compaq 6715s. When I tried to install Debian on it, the install went immensely slow - glacial, even. It was a very minimal install but it tooks hours to get to nowhere.

I found out online that this was because of a problem between the current kernel and the hard drive (or HD bus, something hardware-y to do with the disk) which meant file operations were extremely slow. I thought "easy, patiently install Debian and then install newer kernel". Except that after six hours, the install wasn't even halfway.

So I install Arch Linux with the 2.6.35 kernel: no problems with the drive speed at all. After a lot of researching (I only played around with Arch once, more than a year ago) I got the system into a usable state. But now wlan0 has suddenly disappeared, together with some other problems - and a usable laptop wasn't exactly what I had in mind, it was supposed to be awesome (or at least good). Which, with Debian, it would be

So... is it possible to make a Debian installation use a later version of a kernel? I'd want to install Debian with the 2.6.35 kernel, not install Debian and then afterwards update the kernel (because I don't have 24 hours to install an OS, if it'll ever even install).

I've found some stuff online but it might well have been written in the Cyrillic alphabet. All I understand, I think, is that in theory it's possible.

View 11 Replies View Related

Debian Configuration :: Installing Packages From 5 DVD Set

Dec 7, 2010

I have downloaded the entire Debian 5-dvd set. I want synaptic, apt-get and aptitude to first check online if there's a new version of the packages selected to install, if there's a new version, then get the packages online and install, if not, then ask to insert the corresponding dvd and install from that. Is there anyway to configure this?

View 8 Replies View Related

Debian Configuration :: Installing The KVM From Source?

Jul 9, 2011

I have a fresh install of Debian Squeeze AMD64 which I'm trying to install KVM on. I have no idea what I'm doing so I figured someone on these forums might be able to explain it. I have already verified VT support and enabled it in the bios. I have googled and read about KVM installation but everything I can find is either confusing or doesn't work. Also I am trying to install it from source because I want to experiment with modifying it later.

View 10 Replies View Related

Software :: Cannot Run Debian After Installing It - Does Not Appear In Grub

Jan 30, 2010

I just installed debian squeeze and at finish it asked me if it write the MBR with gurb. I say yes, but after restarintg, squeeze doesnot appear in grub. I also have debian lenny in the same PC. I installed debian squeeze in

Code:

/dev/sda9: UUID="85383eab-fce7-450b-b713-c6bdfd57f53a" SEC_TYPE="ext2" TYPE="ext3"

I try to add it to menu.lst this way:

Code:

titleDebian GNU/Linux, Squeeze kernel 2.6.32
root(hd0,8)
kernel/boot/vmlinuz-2.6.32-trunk-amd64 root= UUID=85383eab-fce7-450b-b713-c6bdfd57f53a ro quiet
initrd/boot/initrd.img-2.6.32-trunk-amd64

When I choose it from grub menu, seems to run, but in 5,6 seconds it stoped and tell me doesnot find some files, like /proc, /etc/fstab, etc... Files I have in /boot (in squeeze particion) are:

Code:

initrd.img-2.6.32-trunk-amd64.bak
grub System.map-2.6.32-trunk-amd64
initrd.img-2.6.32-trunk-amd64 vmlinuz-2.6.32-trunk-amd64

I also tried SGD and when I choose squeeze, appear a black screen with promt

Code:

GRUB>

How can I run squeeze I just installed.

View 1 Replies View Related

Debian Configuration :: Using Grub To Boot From An Iso Image?

May 30, 2010

I have a Knoppix DVD-ROM. I also have its image as k.iso at the second partition of HDD of my laptop. I use the DVD-ROM and write at the boot prompt the cheat code:

knoppix bootfrom=/dev/sda5/k.iso

I also have a folder Knoppix made during bootprompt by using the cheatcode knoppix tohd=/dev/sda5 and I can use the following cheatcode while booting from the DVD-ROM, like knoppix fromhd=/dev/sda5My laptop runs Debian Lenny 5.0.4, installed in the first partition of my HDD.
Can Grub be configured to boot from the Knoppix k.iso image, or the knoppix folder, which I use to use the Knoppix OS, so that I am freed from using the DVD, when I want to use the knoppix system?

View 14 Replies View Related

Debian Configuration :: Set Grub For Boot The Archlinux?

Jul 2, 2010

I have Debian Squeeze amd64 and i install into same hdd in free space archlinux sda3 /boot, sda4 /

How set grub from debian for boot the archlinux?

View 4 Replies View Related

Debian Configuration :: Grub Does Not Detect Vista?

Jul 10, 2010

I am trying to dual boot my system. MS Vista and Debian lenny 5.05. Installed Vista first, need vista for voice recognition software. Installed Lenny second but grub does not see Vista. Installed NTFS-g3 so I can read and write to /dev/sdc1 where my vista is. But grub still does not detect it. Installed grub2 and upgraded from legacy but still grub2 does not see the vista partition.

View 6 Replies View Related

Debian Configuration :: Grubby Grub Will Not --configure?

Sep 9, 2010

After updating my squeeze laptop today I noticed that grub from a few days back fails to --configure.

The dpkg log says
2010-09-09 18:52:45 startup packages configure
2010-09-09 18:52:45 configure grub-pc 1.98+20100804-4 1.98+20100804-4

[code]....

View 1 Replies View Related

Debian Configuration :: Grub Fails To Load From EFI?

Mar 8, 2011

I have happily been booting debian through grub2 by chain loading it with efi (rEFIt), until today, and now get to begin another learning experience I've been using linux for a while, and kept seeing the guides for splitting up /, /var, /tmp, /usr, and /home, into different partitions, so I did just that when I switched from Ubuntu to Debian (I've realized that this was a little bit pointless because I formated them all as ext4, but at least it acts as a safety for mission critical drives when I overfill /home. I unfortunately didn't give /tmp enough space, and it kept crashing SimpleScan so I decided to use gparted to resize it.

The operation went alright as far as I can tell, and was straight forward because there was some free space behind it so I only had to append the partition. I synced the master boot record through rEFIt as usual, but when I booted the linux partition grub did load, and only a blank screen is presented. I eventually figured out I could use the gparted live cd to boot back into debian, and have been screwing around for a while with grub commands trying to figure out how to allow rEFIt to successfully boot GRUB on its own again. I ran grug-mkconfig to replace my /boot/grub/grub.cfg file and have rebooted but that did not help.

I tried reinstalling grub and grub-common with apt-get, but I didn't purge configuration settings for fear of losing something important. My current focus is on the command grub-install. I think i just need to run this command with the /boot device, like su - root; grub-install /dev/sda1 or some thing like that. wipe out the MBR on /dev/sda1, or screw up what good configuration is left in grub, so I want to make sure that I'm using the right /dev. Currently the gparted output looks like this:

/dev/sda1: fat32 - GPT (gpt from fdisk, gparted shows EFI with the boot flag)
/dev/sda2: hfs+ - MacOSx
/dev/sda3: ext4 - /root

[code]...

how the gnome live gparted disk would have been able to boot. I have access to a hard drive so I'll probably end up making backup images of as many of the partitions as I can, and then try more drastic bashing around, but if anyone has any suggestions/wisdom they could offer while I'm researching solutions I'd appreciate it. I eventually want to try to axe my osx partition and boot directly from GRUB2-EFI so I figure it is worth the investment in time to get to know grub a little bit more intimately.

View 3 Replies View Related

Debian Configuration :: MBR Swapping With Grub (No Backup)

Apr 20, 2011

I've been following grub-common bug #606845 and in coming to a solution for the issue, these guys are using dd as a brute force means of swapping out master boot records or trampling them, if you prefer. (Background: The issue is related to grub and certain xp installations)

An sample snip of code:
dd if=/mbrxp.bin of=/dev/sda bs=512 count=1
1) Is mbrxp.bin a back-up of the mbr taken before installation of squeeze (or grub in general)?
2) Am I fubar if I didn't make a back-up of the mbr before installing grub?

View 2 Replies View Related

Debian Configuration :: In Grub Disk Changed From Hd0 To Hd1?

Apr 26, 2011

We had a server failure this morning because grub was throwing error 15 (file not found). We discovered that the disk had changed names from hd0,0 to hd1,0. Making the appropriate replacements in menu.lst fixed the problem, but I'm still wondering what could have caused the spontaneous name change.

here are some other possibly related tidbits: * the server had been down because of a power loss, but it is behind a UPS so i doubt there is any electrical damage * eth0 also temporarily failed but the system failed over to eth1

My current theory is that when the bios was configuring the hardware the loss of eth0 shuffled around the addresses of the remaining hardware on the pci bus, which somehow caused the hd0/hd1 confusion. The problem is that everything i've read [URL] says that the drive assignment should be based on the way the disk is connected to the motherboard (which in this case didn't change)

View 2 Replies View Related

Debian Configuration :: How To Setup Grub For Kfreebsd

May 1, 2011

I installed Debian GNU/Linux and Debian GNU/kFreeBSD on the same system. I didn't reinstall grub with kfreebsd, because I figured running grub-mkconfig would modify grub.cfg. But it didn't.It recognized the Debian GNU/kFreeBSD as GNU/Linux (6.0.1):

### BEGIN /etc/grub.d/30_os-prober ###
Found Debian GNU/Linux (6.0.1) on /dev/sda3
### END /etc/grub.d/30_os-prober ###

View 2 Replies View Related

Debian Configuration :: Can't Get Started From Grub Anymore

May 2, 2011

Installed Debian 6 last night after using Ubuntu for close to 3 years. Couldn't believe how wonderful everything was put together and working, with some minor beginning glitches (like nvidea 3D drivers not working) which were to be expected.

But now I'm sitting back in Ubuntu because I can't get Debian started from Grub anymore. The Grub menu is still there and the selections work fine too. I honestly have no idea what caused this. Last thing I was doing in Debian took place in the Software Center where I was installing some GTK+ themes and looking for some general utilities. I did find a Boot Logo/Login changer, at least that's what I think it was, and when I clicked on install ... I received a message that that application was already installed (must have been by default or through synaptic perhaps).

Anyway, as soon as that message cleared out, perhaps 2 or 3 seconds later the screen crashed and everything went black ... I'm assuming that the xerver crashed. Did a CTRL, ALT, DEL which successfully restarted the system. Got back to the grub menu, selected Debian, and got the black screen again with a login for a user, followed by the password request. Knowing next to nothing about Debian I was obviously stuck at that point. Then I tried the recovery console, and exactly the same thing happened.

Rebooted again, got back into the recovery console, and this time, after adding my user name and password, used CTRL + D which caused a ton of text to appear on the black screen. Near the end of it came a FAILURE message ...

Startpar: service(s) returned failure: gdomap failed:

View 5 Replies View Related







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