Debian :: Boot Live CD With No Swap?
Nov 17, 2010Does any one have any clue about booting linux live CD with no swap space enabled.
View 5 RepliesDoes any one have any clue about booting linux live CD with no swap space enabled.
View 5 RepliesMy swap is not mounted at boot. get it to mount again? I CAN make it mount after booting but I need to hibernate. I read that I have to edit /etc/fstab but I'm not quite sure as to what I have to do specifically.
View 11 Replies View RelatedWhen I installed Debian stable on a headless machine of mine, I configured a partition with LUKS encryption (intended for swap), but told the installer not to use it. After installation, I configured that encrypted partition as swap and mounted it. I wanted my headless machine to boot all the way without manual intervention, so I can log in via ssh and mount my encrypted partitions.However, since the kernel was updated (and the initrd regenerated), the machine now waits during boot for me to enter the swap encryption password, but no others, only the swap.I have been unable to find in my searchings how the initrd is generated with that setting or how I can change it, preferably permanently so future regenerated initrd's don't try activating my encrypted swap on boot. Does anyone know how to configure a Debian style initrd generator to generate an initrd that will not try to activate swap?
View 9 Replies View RelatedCan it be done? I finally got antiX running a 64MB base memory machine, bit I neglected to add a swap.
View 2 Replies View RelatedWhen Debian OS is booted in to memory, this is a clean boot, because with the iso on the DVD can not be tampered with, but someone who has hacked your modem, can target your IP and can place a keylogger in the RAM memory, side-by-side of the OS, does not necessarily need to know zero-day-exploits of Debian (if there are any). Is that correct?
Moreover the trick, once known and automated, can be repeated every time you boot from the Debian Live DVD?
Ok so I wanted to try out Debian, so I got the wheezy live image (gnome) via torrent. The problem is after I write the image to the USB, the computer cannot boot from it. It doesn't even display the USB in the boot menu. I've tried many ways of writing the image like dd, powerISO, UUI, imagewrite (not sure if that was the correct name) etc. Strangely enough, it works on a virtual machine via Plop Boot Manager, but not my actual PC.
View 8 Replies View RelatedOn a new Lenovo Thinkpad T450s, I encounter the following issue: The USB drive containing live CD image ("burned" to the USB using mkusb tool --> which in turn uses dd) cannot be booted from the UEFI boot loader. I have to reconfigure the hardware (BIOS) setup to support both UEFI & legacy system, and with first boot priority given to legacy (BIOS-style) booting. But if I do this, I don't see the UEFI system in the /sys/firmware/uefi directory. I am using the 64-bit live CD image (debian-live-8.0.0-amd64-xfce-desktop.iso).
This is my goal: to boot the live USB from UEFI, so that I can install it in a form that is UEFI-bootable.
I'm trying to boot Live Debian (on a usb stick) on a Dell XPS ('Developers Edition' aka 9343). From what I've read about the status of on this hardware [URL] and about Debian Live (https://www.debian.org/CD/live/) it sounds like this may be possible, but I haven't figured it out. I don't know how to deal with the bios &| uefi settings.
I created the boot stick with dd if=debian-live-8.3.0-amd64-mate-desktop+nonfree.iso of=/dev/sdd1 bs=4M; sync
I've created USB bootable image of my Squeeze using live-magic and had the massage "Installation Finished".Now if I try to boot my system using this USB stick, I get the message:"Insert system disk in drive.Press any key when ready..."
View 2 Replies View RelatedI am attempting to get Debian+Mate running on my laptop, with no success. I have not yet used Linux, but I do wish to climb out of the Window, and the Live session seems ideal to get a feel for Debian before finally abandoning Windows.
I got the Debian+Mate ISO file from the Debian website, and created a bootable USB stick. (Note : I have done this several times, getting new ISOs, and using Unetbootin, Universal USB Installer, and Linux Live installer; the result is always the same.)
When I boot the USB drive, all appears good at first. I get to the Debian (or Mate?) screen which is a pale jade green with a white squiggle in the middle region, with a panel at the top; this shows at left three options - applications, places, and system; and at right the correct time, a sound symbol,the wifi symbol, and a battery indicator. At the left of the screen in vertical arrangement there are 4 icons labelled computer, users home, install Debian Sid, and trash. On the bottom panel, at left there is a "button" for "click to hide all windows & show desktop", and at right 4 squares for workspaces.
There are also (temporary) windows that inform me that the battery is no good (I run on mains), and that there is no wifi connection established. These windows disappear in a minute or so.
The cursor moves ok. The only actions that it creates are the information drop-down texts that tell me what the headings mean - e.g. no connections when I hover the cursor above the wifi connections symbol.
But whatever I attempt to do - selecting any of the options - nothing happens. Everything except the cursor appears to be dead.
The machine that I am using is an old laptop that I use as a second computer. It has a SIS Mirage 3 graphics engine, which I gather may be a problem. I also tried the same procedure with my fairly modern ASUS laptop (NVidia graphics) with exactly the same results; it seems that NVidia graphics may also be problematic, judging from some posts on the web. I have also tried Debian+Cinnamon, again with the same outcome.
As you probably know Debian LIVE ISOs is not (U)EFI bootable since there is no EFI bootloader on them. I need to boot usb for uefi mode...
View 3 Replies View RelatedI've created my own wheezy live usb-hdd using:# lb config -a i386 --mode debian --distribution wheezy --linux-flavours 686 -b usb-hdd --bootloader syslinux --memtest none -p xfce
P: Considering defaults defined in /etc/live/build.conf
P: Creating config tree
# lb build
The binary.img was created.
Now if I try to boot from this image using qemu, I get a message "No bootable device"
If I check this main partition using gparted, the flag is "lba" instead of "boot".
Even doesn't work if try to change to "boot".
How to solve this problem?
I just set up my USB drive with debian wheezy and the first time I boot with it, I was able to choose install options but I shut down my computer and now when I attempt to boot with my USB the screen is black (after esc F9 and choosing the USB) so I tried dd debian.iso a few more times but I am convinced that my USB needs to get completely wiped so that I can put the debian.iso back on and try again.
Any terminal command that can wipe USB drive?
I'm new on this forum, but not new on linux and in general on Ubuntu and Debian and I've always programmed on these OS but I still have a long way, however, in fact I have a new Aspire E15 573G in which there is the UEFI that creates many problem on the boot of different systems but I need to change Windows 10 to Debian or to have both them because I hated Windows.
I searched in many sites to find because my debian live charged on my usb pen doesn't boot in any manner, I read that the live debian still does not start on UEFI systems but I still BELIEVE that there is a method to boot it up and I found this: [URL].....
So my request to you for now is what are the boot parameters to set to the liveboot.nsh? because that configuration doesn't solve the problem, Debian wanted ACPI disabled so I modified the .nsh but still there's the black screen.
Debian-live-8.2.0-amd64-xfce-desktop.iso do not boot in uefi mode. I would like to know if live image can boot uefi mode? If not how can I do later from bios to install grub efi?
View 1 Replies View RelatedI've created live squeeze usb-hdd with syslinux as boot manager:LB_BOOTLOADER="syslinux". Now if I boot from this usb-hdd image I get in the boot menu:
Live
Live (failsafe)
Live 686
Live 686 (failsafe)
How to configure to put these "failsafes" away?
I am very much new to Debian. To have a feel and check if my laptop (HP Elitebook 6930p) is supported I decided to use a live USB option. I know how to create a live USB disk using Ubuntu and using the same knowledge I created the USB disk and tried to boot using it. The system starts to boots off the USB drive and then is stuck at a point where it fails to identify my HDD. Here is what I did
a) downloaded the debian-live-508-i386-gnome-desktop.iso/debian-live-508-i386-gnome-desktop.img/debian-live-507-i386.iso (I tried with all 3)
b) created a live USB using unetbootin
c) tried to boot from live environment
My laptop's hard drive is encrypted using SafeBoot.
After all the 3 debian images failed to boot I tried with other Linux flavors such as Mint and Ubuntu. Interestingly Mint and Ubuntu boot. Is there some thing I need to take care of?
I have been frustrated attempting to get Grub2 to boot a Debian Live system from hard disk. Have set aside a 4gb partition /dev/sda1 to contain the Debian Live and some other recovery tools. I actually have them all working from a 4gb USB stick successfully, but getting it to work on my HDD has proved challenging. On USB, I have PartedMagic, Gparted, Grml, and of course my standard 6.01 Squeeze. I have also managed to get the Debian Live booting from that USB stick. Very slick.
However, I can NOT get Debian Live to boot from my HDD; altho all of the others above boot fine. Have tried it two ways - one using an iSO image, which is how it is done on my USB stick. The other attempt is to copy the entire contents of the ISO to a directory.
Here are my directory structures:
debian_live_gnome_squeeze_i386- contains the following: debian-live-6.0.1-i386-gnome-desktop.iso initrd.gz initrd.img vmlinuz which is how it is laid out on my USB stick debian_live - contains the files from the ISO image The error I get is something like "panic unable to find live filesystem" My grub.cfg snippet for the two methods I have tried - the 2nd menuentry is similar to how it works on the USB stick.
menuentry "Debian 6.01 Live (on /dev/sda1)" {
insmod part_msdos
insmod ext2
set root=(hd0,msdos1)
[code]....
Probly don't really need to get it working since PartedMagic can do almost everything I need for recovery and I can use the USB for reinstall or whatever else.
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.
I can't seem to find this anywhere. I have burned Debian 5.06 for i386 and trying to login when running the live cd. What is the username and password to get in?
edit....
I found 'user' and 'live' but they don't work.
Howto create USB Live image using live-helper under Lenny?
View 1 Replies View RelatedMaybe what I am trying to do doesn't work but let me explain. I have two identical drives on my PC.
/dev/sda = 1 TB
/dev/sdb = 1 TB
I wanted to mirror the drives so I created two separate partitions on each drive:
sda1 = 1024 MB (Swap)
sda2 = 999 GB (Software RAID)
sdb1 = 1024 (Swap)
sdb2 = 999 GB (Software RAID)
I then only created /dev/md0 which consist of /dev/sda2 & /dev/sdb2 in RAID 1 mirror.
When I boot the system, I show that Swap fails during boot in bright 'red' letters. I don't know if it failed activating both or just any swap partitions in general. When I look at 'df -h' while my system is booted, I show:
Code:
[root@buster ~]# df -h
Filesystem Size Used Avail Use% Mounted on
udev 10M 168K 9.9M 2% /dev
/dev/md0 997G 847M 992G 1% /
shm 997M 0 997M 0% /dev/shm
Does this mean that only 1 swap partition activated successfully and the 2nd one failed? Should I mirror the two swap partitions into /dev/md1?
Does one need to Check the Swap filesystem, from time to time
View 4 Replies View RelatedLucid on an Acer Travelmate800.Can anyone tell me why I have 0k for swap space? I allocated swap which I can see in my Disk Utility's 'volumes' display.
View 5 Replies View RelatedFor some time now - every time I reboot my computer the swap drive is not mounting. I have to manually mount (Swapon) it via GParted. Using the sudo mount -a does not seem to have an effect.can Anyone tell me what is going onhere is my fstab:
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
[code]...
all when installing my linux i dind't create a swap partition.now i'd like to use one.so i've create a swap partition.So how to mount it and let the system use it.
View 2 Replies View RelatedI have two almost identical computers -- identical model & type designator; minor difference in hardware details. Both boxes have an installed and running Ubuntu -- one Lucid (v10.04 LTS) and one Jaunty (v9.04). Consider box-A with drive-A and box-B with drive-B. Q1: If I swap drive-A to box-B and drive-B to box-A, is system startup clever enough to work around any minor hardware differences?
I know! "It depends..."
One minor difference is the wifi card. Both are Intel -- one is the 3945 while the other is the 4965. Another difference is partition sizes and mount points. Another difference is RAM size -- 3GB vs. 4GB. Another difference is the specific brand and specs for DVD=RW. I could go on, but the differences seem minor if not trivial.
I have a reason for such a swap that makes sense to me. I simply want to make sure that the system startup will figure out what is different. Q2: Is there some command or utility to run after I make the swap that will add-remove packages and make the install on drive-A better matched to box-B, etc?
RAM for older machines like I use is fairly cheap these days. But flash memory is just as cheap or cheaper. So I'd like to ask about the feasibility of expanding my system's memory using flash memory. And about whether creating a partition for swap on the flash memory, or whether a swap file on the flash device, is the better way to go.
By flash memory I have in mind mainly USB sticks or what are sometimes called "pen drives." But I do also have CF and SD cards that, with the proper cheap adapter (one of which I already own for adapting CF) could be used to create extra swap space. So, what is the current consensus on the feasibility/advisability of using flash memory for swap? I've read about the limited write cycles of flash being an argument against using it for swap. But recent reading indicates to me that the limited write cycles problem applies mostly to older, smaller-capacity flash memory. Some will come out and say that, for larger-capacity flash memory, the life of the device is likely to exceed the amount of time your current computer will be useful (I think I've seen estimates in the range of 3-4 years life--minimum--for newer, higher-capacity flash memory).
A more persuasive argument I've heard against using flash memory for swap is that access times for these devices can be much slower than SATA, and maybe even IDE, hard drives. That would certainly dictate against using flash memory for swap.
So, how about some input on this issue? Anyone using flash memory for swap? If so, what kind (e.g., usb stick or SD/CF)? Are you using a swap file or a swap partition? How's system performance? Likewise, has anyone had flash-memory-used-as-swap die on them? The consequences would undoubtedly be dire. Also, has anyone measured flash memory access times to confirm or refute claims about slow access times? Are some types of flash memory better/worse than others in terms of access times?
I found what I believe to be odd behavior on an OpenSuSE 11.0 computer today. I needed to add some disk space on one of our computers and here is what I did: This computer had a separate disk for swap space so I deactivated swap (swapoff -a) and then removed the swap entry from /etc/fstab. I then shut down the computer and replaced what was a single disk used only for swap with a RAID1 hardware mirror.
I then booted the system and added a swap partition and another file system on the new RAID1 volume. Even after activating the new swap space with swap on, no swap ever seems to be actually allocated. The swap space shows up in top, free, "swap -s" and vmstat, but never gets used. I realize that a reboot will result in the swap being used, but is there anyway to get the kernel to use the swap without a reboot.
It's probably worth noting that I verified this behavior on a second computer. That is I turned off swap, removed the swap entry in /etc/fstab and then rebooted. Swap is never actually allocated until a second reboot. By the way, this was discovered when some of our users attempted to run java on the system where I did the first work and they got:
prompt> java -version
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
Yesterday, java was working fine and I got the same results on my test computer. Is this a kernel bug or just odd behavior?
I was unsatisfied with the 40second boot time of lucid and was searching for a solution for a while but didn't find anything yet. But today I found a way to boot 10seconds quicker.Lucid is installed here as suggested by the installer:
Primary rootpartition (/dev/sda1)
Logical partition (/dev/sda4)
swap (/dev/sda5)
[code]....