Hardware :: Debian USB Install Fails To Boot After Adding HD
Mar 10, 2010
I've just installed debian to a thumb drive on a system with no hard drives. I did not install any hard drive to avoid confusion. The installation went well, I rebooted the system several times with no issues until I decided to install the hard drive (SATA drive). After I installed the hard drive the system failed to boot showing something like:
Code:
Decompressing Linux... Parsing ELF... done.
Booting the kernel.
Loading, please wait...
mount: mounting /dev/sda1 on /root failed: No such device
(continues for other partitions and mount points)
Target filesystem doesn't have /sbin/init
No init found. Try passing init=bootarg
BusyBox v1.10.2 (Debian 1:1.10.2-2) built-in shell (ash)
/bin/sh: can't access tty; job control turned off
(initramfs) [9.670347] sd 0:0:0:0: [sdb] Assuming drive cache: write through [9.673805] sd 0:0:0:0: [sdb] Assuming drive cache: write through
(some insignificant text was not copied :P)
I am guessing that the new disk is somehow confusing debian regarding where to look for system files or the address where the devices are located because if I remove the data cable from the hard drive the system reboots correctly (no hard drive though). Hotpluging the drive works but once I reboot it happens again.
I was planning on installing Stretch on my iBook G4. So I got my netinst cd and went through the install process. Everything was fine till I got to the section where I selected my mirrors. I chose the US/ftp.debian.org mirror and it failed so I tried the ftp.kernel.org and that failed as well. Then I tried the third on the list and I was able to connect and get my packages. The install completed, however when I rebooted the bootup froze. So I thought that it could my cd so I went and grabbed the latest stretch iso from the site.
Yet again I ran into issues. The biggest was that I kept getting sent back to install menu to manually select what steps I wanted to do. I found this odd since normally the install will just walk you through. Then I ran into the same issues with mirrors. finally the install completed and I was rebooted. However the boot failed again, but this I got dropped into the initramfs shell. Should I file this as bug with the debain-installer package?
I recently purchased a new Lenovo Thinkpad T420i and am having problems installing the latest version of Squeeze from CD. After receiving the laptop, I started it up, configured Windows 7, and confirmed everything is working correctly. Next I went through the Debian installer, which completed successfully. I'll be dual-booting Windows 7 and Debian, so at the partitioning stage I resized my NTFS partition, added a shared VFAT partition, then used the "Guided" install to create my root and swap partitions. My partition layout is code...
I assumed something was wrong with grub, so I booted the CD into rescue mode and chose to reinstall grub onto the Master Boot Record. But nothing changed. Just to experiment, I went into fdisk, deleted all my new partitions (leaving just the Windows ones), and tried rebooting, but the same error happened. I then went through the Debian installer again, being careful to set everything up correctly, but still, the device won't boot.
I'm not even getting to the grub boot screen, so something is wrong even before the point. Reinstalling grub to the Master Boot Record (grub-install /dev/sda) isn't changing anything. How can I troubleshoot this?
My old computer started randomly rebooting so I went out yesterday and bought a new one. It's a standard Intel 64 architecture with 2gb ram etc.The old computer was running Lenny however I'm happy to upgrade, so I just went to the main Debian download site and downloaded:debian-6.0.1a-ia64.netinst.iso (this didn't work, apparently ia64 is for itanium and my machine is definitely not that), so I downloaded: debian-6.0.1a-amd64-netinst.iso, burnt the CD and ran the install. First time through I had a power failure.
Second time through (a complete fresh start - new partition and everything) it went all the way through to completion and reboot.Clicked 'Continue' to reboot and the machine reset as it would normally and the Grub loader started okay, prompted for the "Debian amd64" standard boot image, selected that and the first 6 lines appeared normal, then the messages wizzed by so fast that only superman could read them. Then they stop - here is some of the content...
[3.816673] Kernel panic - not syncing: Attempted to killl init! Call trace: get_empty_filp panic
[code].....
Running it again I get similar stack stuff but it's a different place: [3.541816], [3.427502] And sometimes if I wait for a minute or two it will continue on further but appear to crash again. Hardware details (everything is onboard - no added cards):
I'm trying to setup a PXE server with Jessie. I've got the basic setup working by following the steps at [URL] .... That part was really easy. I would like to make the process as automated as possible and then add Win7/10 to the system as well.
The first hurdle I've come across is the fact that netboot downloads everything off the repositories. This has the potential to use up a lot of bandwidth and I would like to avoid this if possible. The first idea I came across was to create a local mirror, this way not only will I be installing everything off the LAN but I'll also be getting all the updates for my systems off the LAN too. I wasn't too keen on this. The other option that I read about was to use the debian ISOs instead.
What I have tried is to copy the Debian ISO to /var/www/html/debian
Then, when my boot via the pxe, i set the option to manually select a repository and then i type in the IP address for my webserver for the address and type in /debian for the mirror directory.
However it breaks at this point. I get a message saying "Downloading a file failed"
I would prefer the as much of the install to come from the ISO as possible to keep bandwidth usage to a minimum.
For Win10, I read that I have to use an AIK to build the Winpe and then boot that. Then I can load the Windows10 ISO via nfs through Winpe.
pxelinux.cfg/default Code: Select allroot@DHCP:/srv/tftp# cat pxelinux.cfg/default UI menu.c32 TITLE PXE Test Boot LABEL Debian 8 kernel linux append vga=normal preseed/url=http://192.168.0.254/debian/preseed.txt initrd=initrd.gz --
LABEL Windows 10 kernel ?? append ??
LABEL HardDrive Boot
This is a preseed I have setup so far
Code: Select all#### Contents of the preconfiguration file (for jessie) ### Localization # Preseeding only locale sets language, country and locale. d-i debian-installer/locale string en_US
I have an external hard drive that I use with my laptop and I want it to be mounted at boot. I used YaST to do this by using the Partitioner. I selected the volume, then edited then chose to have the partition mounted at boot.
On next book the computer booted up and mounted the device as I expected but the boot up process took a long time. When I would usually get the desktop I got only a black screen for about one minute, the the desktop finally loads. I tried to reboot a number of times but I still get the same delay.
When I go back and choose to have the hard drive not auto mount and then reboot there is no delay in loading the desktop. So it seems like mounting this device is delaying the loading of my desktop on boot somehow.
Below is the line that is added to my fstab file to auto mount the drive:
I wish to add more OS to my dual boot system with suse (sda) and windows7 (sda). The plan is to add Linux Mint(sda), PC BSD (sda), Fedora (sdb) and Solaris (sdb). I wish to remove grub2 from mint and install grub legacy, not sure whether it will work or not. I will be reinstalling grub from suse dvd. It gives me a free hand for adding boot entries. I wish to know whether I can remove grub2 and install grub legacy. In grub2 all boot related folders are stored in more than 1 place like /boot and /etc and subfolders.
I am having a strange issue with my xserver. I do have nvidia graphics. My system is Debian Squeeze with limited packages from Sid to fix issues when needed. Currently I don't think that there are any installed from Sid that have not since been updated through testing. It also contains one package from Lenny that does not exist in Testing for some reason, ogle the dvd player.
After an update the other week my gui failed to come up. That is not that unusual with nvidida. So I reinstalled the driver and all seemed to be fine until the next reboot some days later which failed. I reinstalled the driver again and all seemed fine.
The machine did not come out of hibernate cleanly some days later and upon reboot no gui
I have tried the whole group of driver packages out of sid, testing, stable. All are afflicted with the same problem. When the box drops back to the login if I login and issue from root '/etc/init.d/kdm stop' then '/etc/init.d/kdm start' the gui comes up just fine. It also seams to launch much faster than it has for some time.
A friend has questioned if kdm is starting to early in the launch process. I think he may be on to something. But looking at the files in /etc/rc*.d does not seem to indicate to me that is the case. kdm has the launch number 5.
The machine has been converted to the, what is it, multi-process launch thingy, quite some time ago now, like a year maybe? These are what is in the sequence from kdm on
Code:
The install is amd-64 using the standard debian kernel.
With the generous help from caf4926 and please_try_again, i was able to boot into Ubuntu 9.10 with suse's grub legacy.Now I have another problem that i'd need help on, I added a new IDE hard drive for storage and it became sda and the original sda with 3 OSes changed to sdb. Grub can't boot into any OSes except windows 7. Well, i can still boot into Ubuntu if i change the boot option from
im currently setting up debian on a spare box i have and have been useing the advanced install so i could use the ssh ability to continue the install from a different computer. what i want to do is add the ssh to the install so that when the system boots with out the disk i can get into it with out having to wake up my nephew. is this possible or will i have to wait till i have access to the system to install the ssh server?
I'm running Debian Wheezy x-86 32 bit Kernel 2.6.38-2-686 and I have encountered a problem I'm hoping to get some help with. All help would be greatly appreciated as researching this issue has not led to any concrete information. After a reboot or similar, the process will go through the boot sequence including giving me the option of what kernel to run either 2.6.32 or 2.6.38 and starting module's as well as performing POST and then when the logon screen should appear I'm presented with a flashing cursor. I can boot into saftey mode and the CLI, but not being very efficent with Bash and the CLI I'm not sure where to go or what to do.
If I wanted all localisation to be in English (UK)but also need somestmes to be able to type and read Cyrillics, which options shall I sellect diring installation? I do not need Cyrillics as the default.
I'm trying to make dual boot system with Lenny (64bit) along with WinXP. I'm using one HDD with 2 partitions and installed first XP then Lenny. Everything seems fine till the first boot after fresh install. Lenny starts to boot and after same point the screen goes blank and then is turned off and that's it...nothing happens. Happens so fast that I'm unable to see the exact messages on the screen. Maybe somewhere around staring anarcon?
PC is: Athlon64 X2 5400+ Asus M2V-MX motherboard 3GB DDR2 800 500GB WD SATA2 HDD Radeon x800 GTO video
I reinstalled 2 times and it's the same. WinXP is working fine though but I really don't want it to be my OS... Another "hint" from today: The same happens when I use "Try without installing" of Ubuntu 10.04(i386) Live CD. It starts loading and at some point turns off the monitor. Tried also with 8.04(64bit): Boots till it reach something like "Settings sensor limits" and then it's stuck. I have consoles though (Ctrl+Alt+F1/2/3...).
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.
I have Vista on my Samsung R60 + and have installed Ubuntu. On start up I get the dual boot option, select Ubuntu which then goes to completeing install etc, get some HD activity then nothing.
Recently I installed Ubuntu 10.10 on a desktop I use on occasion. It is a Dell Dimension E510. It was running on Windows XP(?) and I think ours dates back to around 2005 or 2007, but I can't say so with certainty.
Anyway, let's say it was about ten days ago when I installed. Everything worked fine and was great. But now the computer won't boot and I'm at a total loss of where I should go from here.
To summarize what happens: Basically I hit the power button and can hear the machine turn on (the monitor's power button is stuck on, so it's already powered), but the screen just stays dark.
I've done a slight amount of research and tested to see if it was the CPU behind it, and if removing any external devices would help (which I'm still not sure if it isn't the culprit) to no avail. My younger sister uses the computer almost exclusively for charging her iPod - which in that case may be related. I'm curious if anyone knows other methods to get around the possibility of it being a CPU problem just in case.
System was working reliably. Moved components into a new case. Now system will not boot. Either gives error that the disk is not bootable or displays the motherboard configuration screen.
I am able to boot Debian with a USB drive and have attempted fixes in "rescue mode".
I confirmed that the system is booting to EFI mode.
I have tried re-installing the grub-efi package and re-creating the Grub config file with update-grub.
When re-installing Grub I receive "Discarding improperly nested partition ..." warnings but the installation succeeds. I have searched this warning message and the forums seem to say that it can be ignored.
I have tried re-setting the motherboard NVRAM using the jumper block.
The computer shows "debian" as a boot choice in addition to the usual raw drive model listing. However, neither of the choices will boot successfully.
I have just recently installed firestarter to get an idea of iptables editing with a GUI. Firestarter works great and I love it, however when I turn my system on, and my system is booting up the terminal displays a "Failed" message when attempting to start up firestarter. Now I have been doing my homework (reserch) and have read that a user will get this error because firestarter trys to load prior to the network manager starting up. I have also read some other variables that can cause this is if you use network manager and have a password on your user account (which I do have) can cause this issue.
However in most cases from what I have read is even though it gives the user a "Failed" startup message, once the user logs in, and is connected to the internet firestarter will actually load the iptables. I did some tests and from what I understand I can see that this is true because I have allowed access to certain torrent trackers, and denied access to others, and I can see some come online. Does firestarter load iptables once the user logs in? Or once it fails to load, does it not load at all unless you manually open/load the application. If firestarter just modifies iptables, then once I save my listings in firestarter then I really don't need it to start up correct?
Because I am using one of the new WD disks I am trying to aling my root partition with the real sectors, as described here: [url]
So I copied all files to a temp location, deleted my partition (/dev/sda3), recreated it a few cylinders later (same name) and copied the files to the newly created partition. I updated UUIDs in grub's configuration as suggested in this thread:[url]
But now it fails to boot with the following error:
Code:
I checked the filesystem on this partition and its fine. I tried to recreate the initramfs from Knoppix:
Code:
But it didn't change anything.
How can I either fix it or install a different kernel on this drive so I could boot into it and re-install my default kernels?
I want to setup my MySQL database and have MySQL up and running. I sill look for a good editor to add and configure my tables, it appears that MySQL Administrator is the only GUI client available. But when I try to add a foreign key to one of my tables, there appears to be a problem. Both of my tables are InnoDB and both have a primary key. -First I choose the tab "Foreign Keys" on my CLIENT table. -Then I press the green + sign to add a foreign key, it is default named new_fk_constraint. -I choose my table USER in the Refer.Table dropdownbox -And then I should be able to match the FK field and the PK field in the box on the right... but this box is empty. Double clicking shows nothing. I only can drag the user_id of the USER table to it, but have no option to select the foreign column. What the hell is wrong here??? This client is years old and should be really REALLY working IMHO! I was told by a friend that there is no good client available and therefore he is using some Windows program for this...
When I try to add software sources (specifically those for Scratchbox, but I get the same error with everything), I get an error message: "http://http not found". Obviously that is not a valid APT line and I have no idea what it is doing in my software sources. How do I take it out?
I have sevral older machines that cannot boot from usb. Until now I have installed fedora using the provided boot.iso on a CD and an external USB dvd drive with the full install DVD.
With Fedora 11, this fails. It gets as far as "finding storage devices" and fails, telling me that an unhandled exception has occured. It offers to save the details, but freezes looking for a suitable location. I have no such problems with the same DVD/external rw drive on systems that can boot directly from usb.
I just fresh installed openSuse 11.3. Am trying to install Hupervisor and Tools but during the install I get the message that xen itself can't be installed while it needs 20MB space.My boot partition is already maxed. At least that is what the partitioner is telling me that 70MB is the maximum setting.
I was running openSUSE 11.2 on a Dell Studio with a mirrored disk. The upgrade to 11.3 went well it seemed until it got to the point of installing the new bootloader. Then it couldn't mount /boot. Otherwise it seemed to go OK though.It completed and rebooted. I see a very brief flash of the word GRUB on the reboot, but then the screen blanks and I get the BIOS messages again.How can I now install GRUB so that I can boot. I had a similar issue with 11.2 in the past, and was able to repair GRUB using 11.2's DVD's "Repair Installation" which had tools to reinstall GRUB.11.3's DVD is missing this option.I'd prefer not to do a fresh install as then I will have a lot of OS setup to repeat (Samba, Apache, Trac, etc.....)
Recently freshly reinstalled ubuntu 10.04 on a new / blank hard drive and it now crashes on startup. Quick version: I have a nvidia Quadro NVS 295, it gets to the point just after the bios with the flashing dash, seemingly tries to init xserver / gdm then crashes. Keyboard lights go off but the pc stays on, and just sits there with the monitor in power saving mode. Tried in recovery mode, the blue / grey ascii terminal thing pops up for less then a second then the display crashes in the same way.
Swapping with an ATI card borrowed from elsewhere, the new install will boot quite happily. Anyone know how I can get 10.04 to boot with a nvidia quadro NVS 295? Its a bog standard card and my version of 10.04 I upgraded to on my old hard drive works fine. ts a reasonably new dell XPS 64bit pc.
Longer version: I run 3 monitors using a PCI-e x16 NVS 295 and a PCI NVS 295. This worked great under 9.10 and 10.04. Boss gave me a solid state HD so trying to install 10.04 on that. However on my first install attempt the live CD failed to load (same problem as above, gets to init'ing the display and crashes with no output). I removed the second PCI card to run with just the 1 PCI-e x16 nvidia card, this time the live CD worked fine and I could install, but I am stuck on the boot problem. Booted into the system using the ATI card and did an update just incase something may have changes / been fixed but the issue persists.
I had to install grub manually after the install. GRUB loads fine and I can select the Ubuntu option, but it simply stays on a purple screen with no HDD activity. When I go into recovery, it falls to a busybox command-line and says "ALERT! /dev/disk/by-uuid/(string of letters and numbers) does not exist". I use a RAID array which causes me loads of problems, but I'm fairly sure, from what I've read of similar problems, that this is due to the update it did during installation. I suppose I could try installing it without internet connection, but then presumably the same thing would happen as soon as I ran update-manager? I have actually tried the reinstall several times as well as reinstalling GRUB.
I'm using OpenSUSE 11.4, trying to install to an iSCSI partition. I'm using gPXE to boot to my iSCSI volume. This works fine, and pulls up grub with my boot options. I think boot the openSUSE 11.4 entry, which kicks off the boot process. I see the steps for running DHCP on the interface, but when it gets to iscsiadm, there's an error logging in to the iSCSI target portal along the lines of "15 - already exists. After that things start to fall apart - I/O errors, mainly, and the system completely fails to boot. What's going on and what this already exists message means?
I'm using the RAID1 setup, which is configured in the BIOS, as it is a HP Proliant server. i have 2 500GB hard drives configured in a mirror. when booting the install, it recognises this, and deals with it fine.
The problem is, when it gets to the section of installing the grub2 boot loader, it just stops and gives me the "ubuntu installer main menu" where if i select grub boot loader install it just loops back, and if i select LILO installer, it errors, saying an installation step failed.
It has the option to skip installing boot loader, but then, can i get it to boot a different way? can i boot manually into the server install and then install GRUB and hope it works? can i install grub1 rather than grub2?