General :: Put In A Ram Disk From Which To Boot On A Given Configuration
Dec 6, 2010
i want to put Linux in a Ram Disk from which to boot on a given configuration.it is very difficult to choose which files to select as i wish the memory quantity used to be as small as possible.
View 5 Replies
ADVERTISEMENT
Feb 24, 2016
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
[Code] ....
View 0 Replies
View Related
Apr 29, 2011
Is it possible to install GRUB in the MBR of the only bootable disk in the system, but load configuration and images from another disk?Basically I want to install GRUB on /dev/sda, but menu and images will be under /dev/sdb2.Note: /dev/sdb is not bootable.
View 14 Replies
View Related
Nov 20, 2010
as far as i know Debian "Squeeze" has a disk check utility, but you can't run this on a mounted filesystem. Is there a way to trigger this during boot (before filesystem is mounted) ? I can run this once a month to keep filesystem healthy....
View 2 Replies
View Related
Aug 17, 2010
I have a SSD Harddisk with both an usb and Sata connection, and I want to be able to boot both from usb and sata but I can't make it work. When the disk is connected with sata anything works fine but when I connect it with usb instead, Fedora seems to boot but then it gives me an "No root device found" error and just sleep forever. This happens even if I install fedora 13 while the disk is connected with usb. I am running Fedora Core 13. I changed my fstab to
/dev/sda2 / ext4 defaults 1 1
And the disk is still booting when connected to the sata controller. So far so good. But if I boot from the usb connection, it still give me the same "No root device found" message. Even more odd is it that if I boot my fedora core 13 dvd, and choose "rescue installed system" it can't detect the harddisk when connected to usb. And there is no /dev/sd* or anything similarly which could look like a blockdevice. Did redhat forget to include usb drivers in their rescue image for Fedora core? I just tried the disk on an other system, with exactly the same problems.
I have now added the LABEL=myroot line to fstab(I guess it have to be uppercase to work) and the harddisk still boot fine when using sata, but it still can't boot using usb. I begin to guess that redhat forgot some usb drivers In fedora Core 13, because the system can't see the harddisk when booting the dvd and entering rescue mode. blkid don't show any harddisks at all and there are no block devices in /dev/ which might be my usb disk. Is it possible to find the uuid of partitions if id add the usb harddisk to a windows computer, and more important: will this be the same uuid as linux will se.
View 1 Replies
View Related
Jan 7, 2011
i have linux operating system CD. it is bootable. but i want to create a boot disk. now i can create boot disk on floppy. but i want to make CD as boot disk.
how to do that.
first i created .iso file like this mkbootdisk --iso --device myimage.iso 2.6.18-194.el5
it created iso named myimage.iso in / now how will i copy it to cd rom i am running cdrecord --scanbus
it is showing : this version is an nofficial version with DVD support. and therefore may have bugs that are not present in teh original. please send bug reports or support requests to http.... the author of cdrecord should not be bothered with problems in this version. cdrecord: invalid or incomplete multibyte or wide character. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'
cdrecord: for possible transport specifirs try 'cdrecord dev=help'.
i am inserting blank CD in the cdrom.
then i run cdrecord -v -eject speed=16 dev=ATA:1,0,0 myimage.iso
how will i come to know about dev and version information if cdrecord --scanbus is failing above.
i am having laptop. with rhel5 (2.6.18-194.el5)
View 5 Replies
View Related
Oct 16, 2009
my Fedora 11 system is not starting anylonger. It stops with the message:
Code:
VFS: Can't find ext4 filesystem on dev dm-0
The system told me since a while, that a lot of the sectors of one disk of the (software) RAID compound are failed already. So tried to disconnect each of the disks and start them separately. Unfortunaltly this is not working (for one its is not working at all, the other wents the same far as with both), when I tried to recover the system with the Fedora DVD, it said no distribution found. I am quite new and do not know so much about linux system, so i do not know what further information you could need. Maybe it can be important, that both disks are encryped (the system wents so far, that I can type in the password).
View 2 Replies
View Related
Aug 24, 2009
There is a disk 500 gb, it is broken on /boot and on /root and on /dev/sda1 and /dev/sda2. Whether prompt it is possible to redistribute a disk without loss of data namely it is necessary to make/boot and two equivalent on disk volume.
View 3 Replies
View Related
Apr 5, 2010
I want diskboot.img for fedora 12. How to get it.
View 1 Replies
View Related
May 17, 2010
How to boot an iso image from hard disk. I have created a linux live cd with remastersys. I want to test it. So I want to boot it from my hard disk.
View 3 Replies
View Related
Aug 17, 2010
I am having 2 Hard Disk 1 is having RHEL 5 Installed And 2nd is having Windows XP, now i want to dual boot my PC with the help of this two Hard Disk? Can i Dual Boot with RHEL & Win XP having Installed in 2 different HD? what is the Procedure?
View 4 Replies
View Related
Apr 6, 2010
How do I create/boot a ram image from a disk? I'd like to create a linux installation that is booted from a USB or CF drive and after boot does not access the disk.
View 4 Replies
View Related
Mar 22, 2010
I've installed a virtual machine on my computer. and I want to boot from its hard disk(which is on my /home/xen/domains/test1/disk.img). what I need is create a grub entry for this.
View 11 Replies
View Related
Aug 23, 2009
I've burned about a dozen disks and they all tell me disk error I really wanna run a dual boot and I used this to partition my hard drive with this EASEUS Partition Master 4.0 Home Edition and burned the disk with this InfraRecorder and then went to reboot and press F11 for boot order.I can see the boot screen and thats when it says disk error.
View 2 Replies
View Related
Nov 3, 2015
I installed Debian on my PC with a Acer Stock motherboard (xc600) with amd64 and after the installation finished it told me to remove my installation media and reboot. After reboot I was returned this message ' ERROR: No boot disk has been detected or the disk has failed.'. I have verified with gparted using mint live OS that I have Debian installed on my system.
I got believes that this may have be caused by a broken grub or I need to configure something I don't know how in BIOS.
I will update the topic later..
My installation media was a USB 2.0 flashdrive with a Debian 8.2 Jessie Installer and 9 different Linux distros. I have installed Debian multiple times before on my laptop and never had this problem so I know how to go through the installation process and set the partitions.
View 3 Replies
View Related
Aug 22, 2010
WinXp sp3 is on disk sdb, then installed Ubuntu 10.04 on sda, can go into diff OS without any problem. I am going to move sda to another machine, when I unplug sda, WinXp can't start to boot on sdb. How to fix it?below is my case output$ sudo fdisk -l
Disk /dev/sda: 160.0 GB
...
Device Boot Start End Blocks Id System
[code].....
View 2 Replies
View Related
Dec 30, 2010
I have a (slightly complicated) dual/multi boot system.
I keep getting boot errors (when choosing ubuntu from the grub2 menu)
Code:
Serious errors were found while checking the disk drive for /boot
If I switch off and restart, ubuntu will then start without issue.
My setup is like this ....3 disks, one with 10.10 clean install - so Grub2, separate partitions for /, /boot and /home, one with windows 7, one with windows XP and 10.04 wubi (this is my old disk which I will trash once I'm happy with my upgrade to 10.10 & 7 on separate disks.
I installed 7 and 10.10 with ONLY their disks installed. After both were working, I added all disks and rejigged the grub2 menu (using update-grub and StartUp-Manager).
This problem only seems to occur if my previous boot was not 10.10 ( I will investigate this further). It's as if something (grub2 ?, the bios ?) is remembering part of the previous boot and not using the grub2 menu completely.
View 2 Replies
View Related
Jun 24, 2010
Schedule disk scan on boot Ubuntu. How do I do this?
View 1 Replies
View Related
Mar 15, 2011
I newly installed debian squeeze with software raid. The way I did was, as also given in this thread.
- I have 2 HDD with 500 GB each. For each of them, I created 3 partitions (/boot, / and swap)
- I selected the hard drive and created a new partition table
- I created a new partition that was 1GB. I then specified to use the partition as a Physical Volume for RAID. and used for /boot and enabled bootable.
- Created another partition, which is of 480 GB, and then specified to use the partition as a Physical Volume for RAID. and used for /.
- Created another partion and used for swap
Then RAID configuration:
Through Configure RAID menu -> create MD device ->
(2 for the number of drives, 0 for spare devices)
Next select the partitions you want to be members of /dev/MD0. I selected /dev/sda1 and /dev/sdb1 (for /boot)
Next select the partitions you want to be members of /dev/MD1. I selected /dev/sda6 and /dev/sdb6 (for /)
And no RAID for swap partitions
'Finish Partitioning and write changes to disk' --> Finish the rest of the install like normal. Everything is ok now, except I am not sure how to test my raid config. When I pull the power of the HDD, it only boots from one disk. I read in some forum that I may have to install GRUB manually on the other. In Debian Squeeze, there is no grub command. Not sure how to make my software raid bootable from both disk. I configured /boot partitions of both disks to be boot=yes. Not sure whether that is ok.
View 2 Replies
View Related
Mar 24, 2010
Is it possible to boot from a disk image file(containing linux) file that resides inside windows and add a bootloader entry for booting from the disk image.?
View 2 Replies
View Related
Jan 9, 2011
I have a Centos 5.5 system that had 2 primary partitions (2nd is setup as LVM with multiple LVM partitions) and then installed Windows 7 as Dual Boot.
However, Windows 7 has installed a 200MB system partition which is GPT/EFI as partition 3 and the Win7 OS as a Primary Partition.
I have a heap of space undefined after this fourth primary partition.
However, as 4 primary partitions have been used, I can no longer create an extended partition to utilise this.
As such I would like to know what is the best and safest way to proceed, and if possible step by steps instructions for the best option eg:
1. Delete the Windows 7 System Partition and create the extended partition (I expect this will prevent Windows from booting)
2. Use something like partition magic to change the Win 7 OS Partition 4 to an extended partition (Not sure if this will work)
3. Make changes to the overall system including both Linux and Windows so that it will use GPT only (I have
had no experience with GPT so this is a bit scary)
4. Other?
View 2 Replies
View Related
Sep 17, 2010
I recently acquired (another) older laptop in need of a hard drive. Lower capacity IDE laptop drives are getting hard to come by from reliable sellers. I'd like to rewire a USB port, and run it into the hard drive slot, running the system off a flash drive rather than a hard drive. I'm running in to the problem I can't find any way to set it up. The system does not support any BIOS options for messing with USB drives. Why it CAN boot off one is beyond be, it's not in the temp boot menu, but when I leave it in, it boots off USB by default. I tried loading Ubuntu, and I have tried copying the files off of a setup hard drive to the flash drive, but I have yet to be successful. Is it even possible to run a linux off a flash drive so I can keep a desktop environment, rather than having it reset to the default ISO state every time I reboot?
View 14 Replies
View Related
May 18, 2010
I'm still kinda new to linux. I've been learning my way around the command line and been experimenting with linux on a couple computers of mine. Occasionally after trying a few things, grub or linux won't load right. I've done some research on possible tools to help but I was wondering if any of the more experienced users had some recommendations for boot disk or tools to help repair grub and/or linux desktop/server editions.
p.s. I would also be interested in any fun and interesting tools, programs, and/or repository's that other users have found beneficial.
View 6 Replies
View Related
Mar 17, 2010
i ahve to boot it from the command like an executable but i dont know how to exactly and when i thought i had it figured out i didnt know how to write the name of the file in the disk ubuntu just kept saying file or directory not found
View 14 Replies
View Related
May 4, 2010
I scored a Dell poweredge 6300 from a local pawn shop. It has the capability to boot from cd-rom, but apparently not with isolinux, which is what the debian installer cd uses. I was able to boot to UBCD411 (Ultimate Boot CD, which uses syslinux), but didn't see any option to boot to a CD (maybe I'm missing something here?). I tried using the boot floppy from this site. I didn't expect it to work (it's from the Woody era), and it did not. I got a message that says SYSLINUX ver.XXXX CBIOS boot failed. I went to [URL].. and looked for a boot floppy image for Lenny, but apparently it doesn't exist. I did however find the boot floppy image for Etch.
To be honest, even if I did find the Lenny floppy boot image, I'm not sure how to use it to point the system to the installer CD. So, I have two questions:
1) Does anyone know of a boot floppy image for Lenny, or if I could use the Etch boot floppy image?
2) How would one boot from floppy, then point the system to the installer CD?
System info:
(4) Xeon Pentium 2 processors 500 Mhz
(6) UltraSCSI hard drives
(1) SCSI cd-rom drive
(1) SCSI dvd-rom drive
(1) Floppy drive
(1) 10/100 NIC
I'm open to any other suggestions as to how I could install Debian Lenny on this machine.
View 5 Replies
View Related
Jul 20, 2011
I have an old unuseable computer at home that became useless after a hard disk failure. I don't want to spend money on buying a new PATA IDE HDD for it, so I was wondering if I can use a PXE boot server on my notebook (using a virtual machine with Linux) and boot a Linux on the old machine with PXE without using Hard Disk. It is possible? Do I will need to make some extra configuration or use some specific enviroment do do this?
View 1 Replies
View Related
Sep 10, 2011
I have a broken DVD drive and no others available right now to burn a DVD iso to so I'd like to use a empty hard disk instead.
I've tried Unetbootin but that only copies a few megabytes of files - the rest of the image data in the ISO is ignored.
I have verified the ISO is valid and working with VirtualBox. It's MD5 hash is also as expected. But I need to boot at the real bios not an emulated one.
I've also tried things like:
sudo cat /disk/image.iso > /dev/sdb1
and that got "Permission denied" -
View 3 Replies
View Related
Feb 4, 2010
After completing the installation of Fedora-FEL edition, I cant boot from my hard disk. "No bootable device found " error appears.
I have one Windows XP & 2 Linux installation in my disk.
I tried to restore grub using "setup (...)" command.but same error repeats.
Even I cant restore Windows XP using "fxmbr" command in... recovery console .
But I can boot from that drive by "chainloader" command in grub. code...
Running above command in grub terminal boots my hard disk ("hd1" is my "unbootable disk")
View 2 Replies
View Related
Mar 25, 2010
I wanna know how to boot a xen from grub2 ? and is there a way to boot a domU also from the grub (if it is installed in a disk image ex :- disk.img)
View 1 Replies
View Related
Mar 19, 2010
I'm having installation issues with linux. I'm trying to set up a dual boot with vista and linux. I prepared my computer by backing up my files and partitioning my hard drive, leaving 20GB for linux. I downloaded Linux Mint 7, and booted from USB (using the universal USB installer from pendrivelinux.com). All good, entered into linux and installed by following the prompts (selecting use largest unallocated partition to point linux to the partition). At this stage the screen cleared to just leave me with the desktop background.
I patiently waited for it to reboot which never happened. So I waited for 20mins or so, then shut the computer down because I couldn't think of what else to do. When I restarted (without using the livecd/usb) it just went straight to vista. I did a bit of reading and found it might have been something to do with vista taking over grub, and some of the tutorials suggested downloading EasyBCD. So I did that, here's the summary:
Code:
There are a total of 2 entries listed in the Vista Bootloader.
Bootloader Timeout: 30 seconds.
Default OS: Linux Mint 7
Entry #1
Name: Microsoft Windows Vista
BCD ID: {current}
Drive: C:
Bootloader Path: Windowssystem32winload.exe
Windows Directory: Windows
Entry #2
Name: Linux Mint 7
BCD ID: {default}
Drive: C:
Bootloader Path: NST
st_grub.mbr
Code:
Windows Boot Manager
identifier {9dea862c-5cdd-4e70-acc1-f32b344d4795}
device partition=C:
description Windows Boot Manager
locale en-US
inherit {7ea2e1ac-2e61-4728-aaa3-896d9d0a9f0e}
default {bbf9569e-31e5-11df-a844-91f7867d7949}
resumeobject {3fb6bf64-700d-11db-8409-0016d303c867}
displayorder {3fb6bf63-700d-11db-8409-0016d303c867}
{bbf9569e-31e5-11df-a844-91f7867d7949}
toolsdisplayorder {b2721d73-1db4-4c62-bf78-c548a880142d}
timeout 30
Windows Boot Loader
identifier {3fb6bf63-700d-11db-8409-0016d303c867}
device partition=C:
path Windowssystem32winload.exe
description Microsoft Windows Vista
locale en-US
inherit {6efb52bf-1766-41db-a6b3-0ee5eff72bd7}
recoverysequence {572bcd55-ffa7-11d9-aae2-0007e994107d}
recoveryenabled Yes
osdevice partition=C:
systemroot Windows
resumeobject {3fb6bf64-700d-11db-8409-0016d303c867}
nx OptIn
Real-mode Boot Sector
identifier {bbf9569e-31e5-11df-a844-91f7867d7949}
device partition=C:
path NST
st_grub.mbr
description Linux Mint 7
Now when I turn my computer on, I get options for vista and linux. Vista works fine, but if I select Linux Mint 7 I get an error that reads "cannot load from harddisk, insert systemdisk and press any key".
View 5 Replies
View Related